Lines Matching refs:skb
39 int ipv4_skb_to_auditdata(struct sk_buff *skb, in ipv4_skb_to_auditdata() argument
45 ih = ip_hdr(skb); in ipv4_skb_to_auditdata()
60 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
69 struct udphdr *uh = udp_hdr(skb); in ipv4_skb_to_auditdata()
78 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata()
87 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata()
108 int ipv6_skb_to_auditdata(struct sk_buff *skb, in ipv6_skb_to_auditdata() argument
116 ip6 = ipv6_hdr(skb); in ipv6_skb_to_auditdata()
124 offset = skb_network_offset(skb); in ipv6_skb_to_auditdata()
127 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); in ipv6_skb_to_auditdata()
136 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in ipv6_skb_to_auditdata()
147 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in ipv6_skb_to_auditdata()
158 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in ipv6_skb_to_auditdata()
169 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in ipv6_skb_to_auditdata()