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

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

Completed in 37 milliseconds