Home
last modified time | relevance | path

Searched refs:pkt_size (Results 1 – 3 of 3) sorted by relevance

/net/sctp/
Doutput.c412 int pkt_count = 0, pkt_size; in sctp_packet_pack() local
422 pkt_size = packet->size; in sctp_packet_pack()
428 pkt_size = packet->overhead; in sctp_packet_pack()
438 else if (pkt_size + padded > tp->pathmtu) in sctp_packet_pack()
440 pkt_size += padded; in sctp_packet_pack()
442 nskb = alloc_skb(pkt_size + MAX_HEADER, gfp); in sctp_packet_pack()
449 pkt_size -= packet->overhead; in sctp_packet_pack()
480 pkt_size -= SCTP_PAD4(chunk->skb->len); in sctp_packet_pack()
485 if (!pkt_size) in sctp_packet_pack()
/net/netfilter/
Dnfnetlink_log.c323 unsigned int pkt_size) in nfulnl_alloc_skb() argument
331 n = max(inst_size, pkt_size); in nfulnl_alloc_skb()
334 if (n > pkt_size) { in nfulnl_alloc_skb()
338 skb = alloc_skb(pkt_size, GFP_ATOMIC); in nfulnl_alloc_skb()
/net/ipv4/
Dip_tunnel.c495 int pkt_size; in tnl_update_pmtu() local
499 pkt_size = skb->len - tunnel_hlen - dev->hard_header_len; in tnl_update_pmtu()
513 mtu < pkt_size) { in tnl_update_pmtu()
538 mtu < pkt_size) { in tnl_update_pmtu()