Home
last modified time | relevance | path

Searched refs:strxf_proto (Results 1 – 5 of 5) sorted by relevance

/external/iproute2/ip/
Dxfrm_policy.c69 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP)); in usage()
70 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP)); in usage()
71 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP)); in usage()
72 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP)); in usage()
75 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP)); in usage()
76 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6)); in usage()
77 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH)); in usage()
79 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE)); in usage()
Dxfrm_state.c95 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP)); in usage()
96 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP)); in usage()
97 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP)); in usage()
98 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP)); in usage()
101 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP)); in usage()
102 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6)); in usage()
103 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH)); in usage()
105 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE)); in usage()
Dipxfrm.c244 const char *strxf_proto(__u8 proto) in strxf_proto() function
469 fprintf(fp, "proto %s ", strxf_proto(sel->proto)); in xfrm_selector_print()
1349 …fprintf(stderr, "\"sport\" and \"dport\" are invalid with PROTO value \"%s\"\n", strxf_proto(sel->… in xfrm_selector_upspec_parse()
1360 …fprintf(stderr, "\"type\" and \"code\" are invalid with PROTO value \"%s\"\n", strxf_proto(sel->pr… in xfrm_selector_upspec_parse()
1369 fprintf(stderr, "\"key\" is invalid with PROTO value \"%s\"\n", strxf_proto(sel->proto)); in xfrm_selector_upspec_parse()
Dxfrm.h129 const char *strxf_proto(__u8 proto);
Dxfrm_monitor.c237 fprintf(fp, " protocol %s ", strxf_proto(sa_id->proto)); in xfrm_usersa_print()