Searched refs:real_proto (Results 1 – 1 of 1) sorted by relevance
6958 int port, real_proto; in gen_scode() local7125 if (pcap_nametoport(name, &port, &real_proto) == 0) in gen_scode()7128 if (real_proto == IPPROTO_TCP) in gen_scode()7130 else if (real_proto == IPPROTO_SCTP) in gen_scode()7134 real_proto = IPPROTO_UDP; in gen_scode()7137 if (real_proto == IPPROTO_UDP) in gen_scode()7140 else if (real_proto == IPPROTO_SCTP) in gen_scode()7144 real_proto = IPPROTO_TCP; in gen_scode()7147 if (real_proto == IPPROTO_UDP) in gen_scode()7150 else if (real_proto == IPPROTO_TCP) in gen_scode()[all …]