Searched refs:sip (Results 1 – 2 of 2) sorted by relevance
28 unsigned int sip=0; in xdp_ipv4_firewalling() local61 sip = iph->saddr; in xdp_ipv4_firewalling()62 sip = (sip>>24) | (((sip>>16)&0xff)<<8) | (((sip>>8)&0xff)<<16) | ((sip&0xff)<<24); in xdp_ipv4_firewalling()66 sip &= m; in xdp_ipv4_firewalling()67 value=bpf_map_lookup_elem(&rules, &sip); in xdp_ipv4_firewalling()
22 __u32 sip = load_word(skb, IP_SRC_OFF); in bpf_prog() local24 if (sip == (__u32)0xac120103 || dip == (__u32)0xac120103) { in bpf_prog()