Searched refs:padto (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/net/ipv4/ |
D | esp4.c | 675 u32 padto; in esp_output() local 677 padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); in esp_output() 678 if (skb->len < padto) in esp_output() 679 esp.tfclen = padto - skb->len; in esp_output()
|
/linux-6.6.21/net/ipv6/ |
D | esp6.c | 713 u32 padto; in esp6_output() local 715 padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); in esp6_output() 716 if (skb->len < padto) in esp6_output() 717 esp.tfclen = padto - skb->len; in esp6_output()
|
/linux-6.6.21/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 4077 unsigned int padto = 0, len = skb->len; in rtl8125_quirk_udp_padto() local 4090 padto = len + RTL_MIN_PATCH_LEN - trans_data_len; in rtl8125_quirk_udp_padto() 4094 padto = max_t(unsigned int, padto, in rtl8125_quirk_udp_padto() 4098 return padto; in rtl8125_quirk_udp_padto() 4104 unsigned int padto; in rtl_quirk_packet_padto() local 4106 padto = rtl8125_quirk_udp_padto(tp, skb); in rtl_quirk_packet_padto() 4112 padto = max_t(unsigned int, padto, ETH_ZLEN); in rtl_quirk_packet_padto() 4118 return padto; in rtl_quirk_packet_padto() 4189 unsigned int padto = rtl_quirk_packet_padto(tp, skb); in rtl8169_tso_csum_v2() local 4192 return !__skb_put_padto(skb, padto, false); in rtl8169_tso_csum_v2()
|