Home
last modified time | relevance | path

Searched refs:transport_len (Results 1 – 8 of 8) sorted by relevance

/net/rxrpc/
Dar-peer.c114 srx->transport_len, in rxrpc_get_peer()
125 peer->srx.transport_len); in rxrpc_get_peer()
129 peer->srx.transport_len == srx->transport_len && in rxrpc_get_peer()
132 srx->transport_len) == 0) in rxrpc_get_peer()
150 peer->srx.transport_len == srx->transport_len && in rxrpc_get_peer()
153 srx->transport_len) == 0) in rxrpc_get_peer()
Daf_rxrpc.c94 if (srx->transport_len < sizeof(sa_family_t) || in rxrpc_validate_address()
95 srx->transport_len > len) in rxrpc_validate_address()
106 if (srx->transport_len > 8) in rxrpc_validate_address()
108 srx->transport_len - 8); in rxrpc_validate_address()
400 rx->srx.transport_len = sizeof(sa_family_t); in rxrpc_connect()
Dar-local.c84 if (local->srx.transport_len > sizeof(sa_family_t)) { in rxrpc_create_local()
88 local->srx.transport_len); in rxrpc_create_local()
Dar-accept.c250 srx.transport_len = sizeof(struct sockaddr_in); in rxrpc_accept_incoming_calls()
/net/ipv6/
Dmcast_snoop.c144 unsigned int transport_len; in __ipv6_mc_check_mld() local
148 transport_len = ntohs(ipv6_hdr(skb)->payload_len); in __ipv6_mc_check_mld()
149 transport_len -= skb_transport_offset(skb) - sizeof(struct ipv6hdr); in __ipv6_mc_check_mld()
151 skb_chk = skb_checksum_trimmed(skb, transport_len, in __ipv6_mc_check_mld()
/net/openvswitch/
Dactions.c299 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum() local
305 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ip_l4_checksum()
309 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ip_l4_checksum()
334 int transport_len = skb->len - skb_transport_offset(skb); in update_ipv6_checksum() local
337 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ipv6_checksum()
341 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ipv6_checksum()
352 if (likely(transport_len >= sizeof(struct icmp6hdr))) in update_ipv6_checksum()
/net/core/
Dskbuff.c4137 unsigned int transport_len) in skb_checksum_maybe_trim() argument
4140 unsigned int len = skb_transport_offset(skb) + transport_len; in skb_checksum_maybe_trim()
4177 unsigned int transport_len, in skb_checksum_trimmed() argument
4184 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
/net/ipv4/
Digmp.c1490 unsigned int transport_len; in __ip_mc_check_igmp() local
1494 transport_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in __ip_mc_check_igmp()
1496 skb_chk = skb_checksum_trimmed(skb, transport_len, in __ip_mc_check_igmp()