Home
last modified time | relevance | path

Searched refs:trailer (Results 1 – 7 of 7) sorted by relevance

/net/dsa/
Dtag_trailer.c22 u8 *trailer; in trailer_xmit() local
55 trailer = skb_put(nskb, 4); in trailer_xmit()
56 trailer[0] = 0x80; in trailer_xmit()
57 trailer[1] = 1 << p->port; in trailer_xmit()
58 trailer[2] = 0x10; in trailer_xmit()
59 trailer[3] = 0x00; in trailer_xmit()
74 u8 *trailer; in trailer_rcv() local
88 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
89 if (trailer[0] != 0x80 || (trailer[1] & 0xf8) != 0x00 || in trailer_rcv()
90 (trailer[3] & 0xef) != 0x00 || trailer[3] != 0x00) in trailer_rcv()
[all …]
/net/ipv6/
Desp6.c153 struct sk_buff *trailer; in esp6_output() local
188 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp6_output()
216 tail = skb_tail_pointer(trailer); in esp6_output()
228 pskb_put(skb, trailer, clen - skb->len + alen); in esp6_output()
331 struct sk_buff *trailer; in esp6_input() local
354 if ((nfrags = skb_cow_data(skb, 0, &trailer)) < 0) { in esp6_input()
Dah6.c342 struct sk_buff *trailer; in ah6_output() local
354 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah6_output()
506 struct sk_buff *trailer; in ah6_input() local
545 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah6_input()
/net/ipv4/
Desp4.c125 struct sk_buff *trailer; in esp_output() local
161 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp_output()
189 tail = skb_tail_pointer(trailer); in esp_output()
201 pskb_put(skb, trailer, clen - skb->len + alen); in esp_output()
382 struct sk_buff *trailer; in esp_input() local
401 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in esp_input()
Dah4.c151 struct sk_buff *trailer; in ah_output() local
162 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_output()
290 struct sk_buff *trailer; in ah_input() local
330 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_input()
/net/rxrpc/
Drxkad.c209 struct sk_buff *trailer; in rxkad_secure_packet_encrypt() local
235 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_secure_packet_encrypt()
336 struct sk_buff *trailer; in rxkad_verify_packet_auth() local
346 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_auth()
411 struct sk_buff *trailer; in rxkad_verify_packet_encrypt() local
421 nsg = skb_cow_data(skb, 0, &trailer); in rxkad_verify_packet_encrypt()
/net/core/
Dskbuff.c3197 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) in skb_cow_data() argument
3223 *trailer = skb; in skb_cow_data()
3282 *trailer = skb1; in skb_cow_data()