Home | History | Annotate | Download | only in ip

Lines Matching refs:stderr

57 	fprintf(stderr, "Usage: ip xfrm state { add | update } ID [ ALGO-LIST ] [ mode MODE ]\n");
58 fprintf(stderr, " [ mark MARK [ mask MASK ] ] [ reqid REQID ] [ seq SEQ ]\n");
59 fprintf(stderr, " [ replay-window SIZE ] [ replay-seq SEQ ] [ replay-oseq SEQ ]\n");
60 fprintf(stderr, " [ replay-seq-hi SEQ ] [ replay-oseq-hi SEQ ]\n");
61 fprintf(stderr, " [ flag FLAG-LIST ] [ sel SELECTOR ] [ LIMIT-LIST ] [ encap ENCAP ]\n");
62 fprintf(stderr, " [ coa ADDR[/PLEN] ] [ ctx CTX ] [ extra-flag EXTRA-FLAG-LIST ]\n");
63 fprintf(stderr, "Usage: ip xfrm state allocspi ID [ mode MODE ] [ mark MARK [ mask MASK ] ]\n");
64 fprintf(stderr, " [ reqid REQID ] [ seq SEQ ] [ min SPI max SPI ]\n");
65 fprintf(stderr, "Usage: ip xfrm state { delete | get } ID [ mark MARK [ mask MASK ] ]\n");
66 fprintf(stderr, "Usage: ip xfrm state { deleteall | list } [ ID ] [ mode MODE ] [ reqid REQID ]\n");
67 fprintf(stderr, " [ flag FLAG-LIST ]\n");
68 fprintf(stderr, "Usage: ip xfrm state flush [ proto XFRM-PROTO ]\n");
69 fprintf(stderr, "Usage: ip xfrm state count\n");
70 fprintf(stderr, "ID := [ src ADDR ] [ dst ADDR ] [ proto XFRM-PROTO ] [ spi SPI ]\n");
71 fprintf(stderr, "XFRM-PROTO := ");
72 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_ESP));
73 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_AH));
74 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_COMP));
75 fprintf(stderr, "%s | ", strxf_xfrmproto(IPPROTO_ROUTING));
76 fprintf(stderr, "%s\n", strxf_xfrmproto(IPPROTO_DSTOPTS));
77 fprintf(stderr, "ALGO-LIST := [ ALGO-LIST ] ALGO\n");
78 fprintf(stderr, "ALGO := { ");
79 fprintf(stderr, "%s | ", strxf_algotype(XFRMA_ALG_CRYPT));
80 fprintf(stderr, "%s", strxf_algotype(XFRMA_ALG_AUTH));
81 fprintf(stderr, " } ALGO-NAME ALGO-KEYMAT |\n");
82 fprintf(stderr, " %s", strxf_algotype(XFRMA_ALG_AUTH_TRUNC));
83 fprintf(stderr, " ALGO-NAME ALGO-KEYMAT ALGO-TRUNC-LEN |\n");
84 fprintf(stderr, " %s", strxf_algotype(XFRMA_ALG_AEAD));
85 fprintf(stderr, " ALGO-NAME ALGO-KEYMAT ALGO-ICV-LEN |\n");
86 fprintf(stderr, " %s", strxf_algotype(XFRMA_ALG_COMP));
87 fprintf(stderr, " ALGO-NAME\n");
88 fprintf(stderr, "MODE := transport | tunnel | beet | ro | in_trigger\n");
89 fprintf(stderr, "FLAG-LIST := [ FLAG-LIST ] FLAG\n");
90 fprintf(stderr, "FLAG := noecn | decap-dscp | nopmtudisc | wildrecv | icmp | af-unspec | align4 | esn\n");
91 fprintf(stderr, "EXTRA-FLAG-LIST := [ EXTRA-FLAG-LIST ] EXTRA-FLAG\n");
92 fprintf(stderr, "EXTRA-FLAG := dont-encap-dscp\n");
93 fprintf(stderr, "SELECTOR := [ src ADDR[/PLEN] ] [ dst ADDR[/PLEN] ] [ dev DEV ] [ UPSPEC ]\n");
94 fprintf(stderr, "UPSPEC := proto { { ");
95 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP));
96 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP));
97 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP));
98 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP));
99 fprintf(stderr, " } [ sport PORT ] [ dport PORT ] |\n");
100 fprintf(stderr, " { ");
101 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP));
102 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6));
103 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH));
104 fprintf(stderr, " } [ type NUMBER ] [ code NUMBER ] |\n");
105 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE));
106 fprintf(stderr, " [ key { DOTTED-QUAD | NUMBER } ] | PROTO }\n");
107 fprintf(stderr, "LIMIT-LIST := [ LIMIT-LIST ] limit LIMIT\n");
108 fprintf(stderr, "LIMIT := { time-soft | time-hard | time-use-soft | time-use-hard } SECONDS |\n");
109 fprintf(stderr, " { byte-soft | byte-hard } SIZE | { packet-soft | packet-hard } COUNT\n");
110 fprintf(stderr, "ENCAP := { espinudp | espinudp-nonike } SPORT DPORT OADDR\n");
123 fprintf(stderr, "warning: ALGO-NAME/ALGO-KEYMAT values will be sent to the kernel promiscuously! (verifying them isn't implemented yet)\n");
533 fprintf(stderr, "Error: esn flag set without replay-window.\n");
538 fprintf(stderr,
570 fprintf(stderr, "Not enough information: ID is required\n");
578 fprintf(stderr, "XFRMA_MARK failed\n");
592 fprintf(stderr, "MODE value is invalid with XFRM-PROTO value \"%s\"\n",
600 fprintf(stderr, "ALGO-TYPE value \"%s\" is invalid with XFRM-PROTO value \"%s\"\n",
606 fprintf(stderr, "ALGO-TYPE value \"%s\" or \"%s\" is required with XFRM-PROTO value \"%s\"\n",
615 fprintf(stderr, "ALGO-TYPE values \"%s\", \"%s\", and \"%s\" are invalid with XFRM-PROTO value \"%s\"\n",
623 fprintf(stderr, "ALGO-TYPE value \"%s\" or \"%s\" is required with XFRM-PROTO value \"%s\"\n",
632 fprintf(stderr, "ALGO-TYPE values \"%s\", \"%s\", \"%s\", and \"%s\" are invalid with XFRM-PROTO value \"%s\"\n",
641 fprintf(stderr, "ALGO-TYPE value \"%s\" is required with XFRM-PROTO value \"%s\"\n",
650 fprintf(stderr, "ALGO is invalid with XFRM-PROTO value \"%s\"\n",
662 fprintf(stderr, "\"mode\" is required with XFRM-PROTO value \"%s\"\n",
666 fprintf(stderr, "MODE value is invalid with XFRM-PROTO value \"%s\"\n",
672 fprintf(stderr, "\"coa\" is required with XFRM-PROTO value \"%s\"\n",
678 fprintf(stderr, "\"coa\" is invalid with XFRM-PROTO value \"%s\"\n",
769 fprintf(stderr, "\"spi\" is invalid\n");
779 fprintf(stderr, "Not enough information: ID is required\n");
785 fprintf(stderr, "\"max\" is missing\n");
789 fprintf(stderr, "value after \"min\" is larger than value after \"max\"\n");
794 fprintf(stderr, "\"min\" is missing\n");
815 fprintf(stderr, "XFRMA_MARK failed\n");
831 fprintf(stderr, "An error :-)\n");
883 fprintf(stderr, "Not a state: %08x %08x %08x\n",
903 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len);
930 fprintf(stderr, "Buggy XFRM_MSG_DELSA: no XFRMA_SA\n");
934 fprintf(stderr, "Buggy XFRM_MSG_DELPOLICY: too short XFRMA_POLICY len\n");
1005 fprintf(stderr, "XFRMA_MARK failed\n");
1029 fprintf(stderr, "An error :-)\n");
1055 fprintf(stderr, "Not a state: %08x %08x %08x\n",
1062 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len);
1070 fprintf(stderr, "State buffer overflow\n");
1164 fprintf(stderr, "Delete-all round = %d\n", i);
1172 fprintf(stderr, "Delete-all terminated\n");
1177 fprintf(stderr, "Delete-all completed\n");
1186 fprintf(stderr, "Delete-all nlmsg count = %d\n", xb.nlmsg_count);
1222 fprintf(stderr, "Dump terminated\n");
1244 fprintf(stderr, "SADinfo: Wrong len %d\n", len);
1350 fprintf(stderr, "Flush state with XFRM-PROTO value \"%s\"\n",
1390 fprintf(stderr, "Command \"%s\" is unknown, try \"ip xfrm state help\".\n", *argv);