Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dxfrm_policy.c73 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP)); in usage()
74 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP)); in usage()
75 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP)); in usage()
76 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP)); in usage()
79 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP)); in usage()
80 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6)); in usage()
81 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH)); in usage()
83 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE)); in usage()
Dxfrm_state.c97 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_TCP)); in usage()
98 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_UDP)); in usage()
99 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_SCTP)); in usage()
100 fprintf(stderr, "%s", strxf_proto(IPPROTO_DCCP)); in usage()
103 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMP)); in usage()
104 fprintf(stderr, "%s | ", strxf_proto(IPPROTO_ICMPV6)); in usage()
105 fprintf(stderr, "%s", strxf_proto(IPPROTO_MH)); in usage()
107 fprintf(stderr, " %s", strxf_proto(IPPROTO_GRE)); in usage()
Dipxfrm.c247 const char *strxf_proto(__u8 proto) in strxf_proto() function
470 fprintf(fp, "proto %s ", strxf_proto(sel->proto)); in xfrm_selector_print()
1273 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto)); in xfrm_selector_upspec_parse()
1284 fprintf(stderr, "\"type\" and \"code\" are invalid with proto=%s\n", strxf_proto(sel->proto)); in xfrm_selector_upspec_parse()
1293 fprintf(stderr, "\"key\" is invalid with proto=%s\n", strxf_proto(sel->proto)); in xfrm_selector_upspec_parse()
Dxfrm.h130 const char *strxf_proto(__u8 proto);
Dxfrm_monitor.c235 fprintf(fp, " protocol %s ", strxf_proto(sa_id->proto)); in xfrm_usersa_print()