Searched refs:transport_len (Results 1 – 8 of 8) sorted by relevance
114 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()
94 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()
84 if (local->srx.transport_len > sizeof(sa_family_t)) { in rxrpc_create_local()88 local->srx.transport_len); in rxrpc_create_local()
250 srx.transport_len = sizeof(struct sockaddr_in); in rxrpc_accept_incoming_calls()
144 unsigned int transport_len; in __ipv6_mc_check_mld() local148 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()
299 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum() local305 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() local337 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()
4137 unsigned int transport_len) in skb_checksum_maybe_trim() argument4140 unsigned int len = skb_transport_offset(skb) + transport_len; in skb_checksum_maybe_trim()4177 unsigned int transport_len, in skb_checksum_trimmed() argument4184 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
1490 unsigned int transport_len; in __ip_mc_check_igmp() local1494 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()