Searched refs:header_size (Results 1 – 2 of 2) sorted by relevance
/net/batman-adv/ |
D | fragmentation.c | 410 unsigned int header_size = sizeof(*frag_head); in batadv_frag_create() local 411 unsigned int mtu = fragment_size + header_size; in batadv_frag_create() 420 skb_reserve(skb_fragment, ll_reserved + header_size); in batadv_frag_create() 424 skb_push(skb_fragment, header_size); in batadv_frag_create() 425 memcpy(skb_fragment->data, frag_head, header_size); in batadv_frag_create() 449 unsigned int header_size = sizeof(frag_header); in batadv_frag_send_packet() local 457 max_fragment_size = mtu - header_size; in batadv_frag_send_packet() 541 ret = skb_cow_head(skb, ETH_HLEN + header_size); in batadv_frag_send_packet() 545 skb_push(skb, header_size); in batadv_frag_send_packet() 546 memcpy(skb->data, &frag_header, header_size); in batadv_frag_send_packet()
|
/net/ipv4/ |
D | route.c | 1323 unsigned int header_size = sizeof(struct tcphdr) + sizeof(struct iphdr); in ipv4_default_advmss() local 1324 unsigned int advmss = max_t(unsigned int, ipv4_mtu(dst) - header_size, in ipv4_default_advmss() 1327 return min(advmss, IPV4_MAX_PMTU - header_size); in ipv4_default_advmss()
|