Home | History | Annotate | Download | only in ip

Lines Matching refs:stderr

55 	fprintf(stderr, "Usage: ip xfrm policy { add | update } SELECTOR dir DIR [ ctx CTX ]\n");
56 fprintf(stderr, " [ mark MARK [ mask MASK ] ] [ index INDEX ] [ ptype PTYPE ]\n");
57 fprintf(stderr, " [ action ACTION ] [ priority PRIORITY ] [ flag FLAG-LIST ]\n");
58 fprintf(stderr, " [ LIMIT-LIST ] [ TMPL-LIST ]\n");
59 fprintf(stderr, "Usage: ip xfrm policy { delete | get } { SELECTOR | index INDEX } dir DIR\n");
60 fprintf(stderr, " [ ctx CTX ] [ mark MARK [ mask MASK ] ] [ ptype PTYPE ]\n");
61 fprintf(stderr, "Usage: ip xfrm policy { deleteall | list } [ SELECTOR ] [ dir DIR ]\n");
62 fprintf(stderr, " [ index INDEX ] [ ptype PTYPE ] [ action ACTION ] [ priority PRIORITY ]\n");
63 fprintf(stderr, " [ flag FLAG-LIST ]\n");
64 fprintf(stderr, "Usage: ip xfrm policy flush [ ptype PTYPE ]\n");
65 fprintf(stderr, "Usage: ip xfrm policy count\n");
66 fprintf(stderr, "Usage: ip xfrm policy set [ hthresh4 LBITS RBITS ] [ hthresh6 LBITS RBITS ]\n");
67 fprintf(stderr, "SELECTOR := [ src ADDR[/PLEN] ] [ dst ADDR[/PLEN] ] [ dev DEV ] [ UPSPEC ]\n");
68 fprintf(stderr, "UPSPEC := proto { { ");
69 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP));
70 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP));
71 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP));
72 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP));
73 fprintf(stderr, " } [ sport PORT ] [ dport PORT ] |\n");
74 fprintf(stderr, " { ");
75 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP));
76 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6));
77 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH));
78 fprintf(stderr, " } [ type NUMBER ] [ code NUMBER ] |\n");
79 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE));
80 fprintf(stderr, " [ key { DOTTED-QUAD | NUMBER } ] | PROTO }\n");
81 fprintf(stderr, "DIR := in | out | fwd\n");
82 fprintf(stderr, "PTYPE := main | sub\n");
83 fprintf(stderr, "ACTION := allow | block\n");
84 fprintf(stderr, "FLAG-LIST := [ FLAG-LIST ] FLAG\n");
85 fprintf(stderr, "FLAG := localok | icmp\n");
86 fprintf(stderr, "LIMIT-LIST := [ LIMIT-LIST ] limit LIMIT\n");
87 fprintf(stderr, "LIMIT := { time-soft | time-hard | time-use-soft | time-use-hard } SECONDS |\n");
88 fprintf(stderr, " { byte-soft | byte-hard } SIZE | { packet-soft | packet-hard } COUNT\n");
89 fprintf(stderr, "TMPL-LIST := [ TMPL-LIST ] tmpl TMPL\n");
90 fprintf(stderr, "TMPL := ID [ mode MODE ] [ reqid REQID ] [ level LEVEL ]\n");
91 fprintf(stderr, "ID := [ src ADDR ] [ dst ADDR ] [ proto XFRM-PROTO ] [ spi SPI ]\n");
92 fprintf(stderr, "XFRM-PROTO := ");
93 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_ESP));
94 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_AH));
95 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_COMP));
96 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_ROUTING));
97 fprintf(stderr, "%s\n", strxf_xfrmproto(IPPROTO_DSTOPTS));
98 fprintf(stderr, "MODE := transport | tunnel | beet | ro | in_trigger\n");
99 fprintf(stderr, "LEVEL := required | use\n");
333 fprintf(stderr, "Too many tmpls: buffer overflow\n");
361 fprintf(stderr, "Not enough information: DIR is required.\n");
379 fprintf(stderr, "%s: XFRMA_MARK failed\n",__func__);
475 fprintf(stderr, "Not a policy: %08x %08x %08x\n",
494 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len);
511 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
531 fprintf(stderr, "Buggy XFRM_MSG_DELPOLICY: no XFRMA_POLICY\n");
535 fprintf(stderr, "Buggy XFRM_MSG_DELPOLICY: too short XFRMA_POLICY len\n");
638 fprintf(stderr, "Not enough information: DIR is required.\n");
646 fprintf(stderr, "Not enough information: either SELECTOR or INDEX is required.\n");
662 fprintf(stderr, "%s: XFRMA_MARK failed\n",__func__);
695 fprintf(stderr, "An error :-)\n");
720 fprintf(stderr, "Not a policy: %08x %08x %08x\n",
727 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len);
737 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
748 fprintf(stderr, "Policy buffer overflow\n");
864 fprintf(stderr, "Delete-all round = %d\n", i);
872 fprintf(stderr, "Delete-all terminated\n");
877 fprintf(stderr, "Delete-all completed\n");
886 fprintf(stderr, "Delete-all nlmsg count = %d\n", xb.nlmsg_count);
908 fprintf(stderr, "Dump terminated\n");
929 fprintf(stderr, "SPDinfo: Wrong len %d\n", len);
941 fprintf(stderr, "SPDinfo: Wrong len %d\n", len);
964 fprintf(stderr, "SPDinfo: Wrong len %d\n", len);
976 fprintf(stderr, "SPDinfo: Wrong len %d\n", len);
989 fprintf(stderr, "SPDinfo: Wrong len %d\n", len);
1143 fprintf(stderr, "Flush policy\n");
1181 fprintf(stderr, "Command \"%s\" is unknown, try \"ip xfrm policy help\".\n", *argv);