Lines Matching defs:protocol
57 #include "netlink-protocol.h"
341 * STREAMS, thus it isn't related to ARP running the ARP protocol.
354 solaris_proto2str(uint8_t protocol)
356 if (protocol == IPPROTO_TCP)
358 if (protocol == IPPROTO_UDP)
360 if (protocol == IPPROTO_SCTP)
362 if (protocol == IPPROTO_ICMPV6)
364 if (protocol == IPPROTO_ICMP)
2755 uint8_t protocol;
2762 * "protocol:xxx" "tos:xxx" "hoplimit:xxx"
2783 } else if (strcmp(pval, "protocol") == 0) {
2786 protocol = solaris_str2proto(sep);
2787 if (protocol == 0)
2789 ipv4.ipv4_proto = protocol;
2827 uint8_t protocol;
2835 * "label:0xxxxx" "protocol:xxx" "tos:xxx" "hoplimit:xxx"
2858 } else if (strcmp(pval, "protocol") == 0) {
2861 protocol = solaris_str2proto(sep);
2862 if (protocol == 0)
2864 ipv6.ipv6_proto = protocol;