Searched refs:IPVERSION (Results 1 – 18 of 18) sorted by relevance
189 if (ipo->ip_v == IPVERSION && ipo->ip_p == IPPROTO_IPV4) { in ipip_input()447 ipo->ip_v = IPVERSION; in ipip_output()462 if (tp == IPVERSION) { in ipip_output()549 if (tp == IPVERSION) { in ipip_output()
42 #define IPVERSION 4 macro
376 ipo->ip_v = IPVERSION; in etherip_output()
187 sizeof(struct ip) >> 2, IPVERSION,189 IPVERSION, sizeof(struct ip) >> 2,
323 if (ip->ip_v != IPVERSION) {
148 ip->ip_v = IPVERSION; in ip_output()
827 ip->ip_v = IPVERSION; in carp_send_ad()
89 ip->ip_v = IPVERSION; /* half-char */ in sendudp()172 if (ip->ip_v != IPVERSION || in readudp()
56 ip->ip_v = IPVERSION; in init_igmp()
150 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, (IPVERSION << 4) + 5, 0, 12),
820 if ((c = (*sc->sc_pktstart & 0xf0)) != (IPVERSION << 4)) {
1214 if ((c = (*sc->sc_buf & 0xf0)) != (IPVERSION << 4)) {
2390 if (ip->ip_v != IPVERSION) { in bridge_filter()2696 ip->ip_v = IPVERSION; in bridge_send_icmp_err()
1330 ip->ip_v = IPVERSION;
526 ip->ip_v = IPVERSION; in main()
960 if((c = (*(mtod(m, u_char *)) & 0xf0)) != (IPVERSION << 4))
407 ip->ip_v = IPVERSION; in main()
1938 if (ip->ip_v != IPVERSION) in sk_rxcsum()