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.c96 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP)); in usage()
97 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP)); in usage()
98 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP)); in usage()
99 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP)); in usage()
102 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP)); in usage()
103 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6)); in usage()
104 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH)); in usage()
106 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE)); in usage()
Dipxfrm.c237 const char *strxf_proto(__u8 proto) in strxf_proto() function
453 fprintf(fp, "proto %s ", strxf_proto(sel->proto)); in xfrm_selector_print()
1337 …fprintf(stderr, "\"sport\" and \"dport\" are invalid with PROTO value \"%s\"\n", strxf_proto(sel->… in xfrm_selector_upspec_parse()
1348 …fprintf(stderr, "\"type\" and \"code\" are invalid with PROTO value \"%s\"\n", strxf_proto(sel->pr… in xfrm_selector_upspec_parse()
1357 fprintf(stderr, "\"key\" is invalid with PROTO value \"%s\"\n", strxf_proto(sel->proto)); in xfrm_selector_upspec_parse()
Dxfrm.h126 const char *strxf_proto(__u8 proto);
Dxfrm_monitor.c235 fprintf(fp, " protocol %s ", strxf_proto(sa_id->proto)); in xfrm_usersa_print()