Searched refs:transport_len (Results 1 – 15 of 15) sorted by relevance
75 unsigned int transport_len = ipv6_transport_len(skb); in ipv6_mc_check_mld_query() local84 if (transport_len != sizeof(struct mld_msg)) { in ipv6_mc_check_mld_query()86 if (transport_len < sizeof(struct mld2_query)) in ipv6_mc_check_mld_query()137 unsigned int transport_len = ipv6_transport_len(skb); in ipv6_mc_check_icmpv6() local143 skb_chk = skb_checksum_trimmed(skb, transport_len, in ipv6_mc_check_icmpv6()
23 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_extract_addr_from_skb()32 srx->transport_len = sizeof(srx->transport.sin6); in rxrpc_extract_addr_from_skb()
38 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_local_rcu()46 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()77 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
203 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_ack_packet()285 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_abort_packet()350 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_data_packet()536 msg.msg_namelen = conn->peer->srx.transport_len; in rxrpc_send_conn_abort()623 msg.msg_namelen = srx.transport_len; in rxrpc_reject_packet()658 msg.msg_namelen = peer->srx.transport_len; in rxrpc_send_keepalive()
92 if (srx->transport_len < sizeof(sa_family_t) || in rxrpc_validate_address()93 srx->transport_len > len) in rxrpc_validate_address()101 if (srx->transport_len < sizeof(struct sockaddr_in)) in rxrpc_validate_address()110 if (srx->transport_len < sizeof(struct sockaddr_in6)) in rxrpc_validate_address()551 rx->srx.transport_len = sizeof(struct sockaddr_in); in rxrpc_sendmsg()555 rx->srx.transport_len = sizeof(struct sockaddr_in6); in rxrpc_sendmsg()
39 hash_key += srx->transport_len; in rxrpc_peer_hash_key()86 (peer->srx.transport_len - srx->transport_len) ?: in rxrpc_peer_cmp_key()
51 msg.msg_namelen = srx.transport_len; in rxrpc_send_version_request()
65 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key()
116 msg.msg_namelen = conn->peer->srx.transport_len; in rxrpc_conn_retransmit_call()
197 srx.transport_len = sizeof(srx.transport.sin6); in rxperf_open_socket()
644 msg.msg_namelen = conn->peer->srx.transport_len; in rxkad_issue_challenge()702 msg.msg_namelen = conn->peer->srx.transport_len; in rxkad_send_response()
349 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum() local355 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ip_l4_checksum()359 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ip_l4_checksum()385 int transport_len = skb->len - skb_transport_offset(skb); in update_ipv6_checksum() local388 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ipv6_checksum()392 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ipv6_checksum()403 if (likely(transport_len >= sizeof(struct icmp6hdr))) in update_ipv6_checksum()
1541 unsigned int transport_len = ip_transport_len(skb); in ip_mc_check_igmp_query() local1545 if (transport_len != sizeof(struct igmphdr)) { in ip_mc_check_igmp_query()1547 if (transport_len < sizeof(struct igmpv3_query)) in ip_mc_check_igmp_query()1589 unsigned int transport_len = ip_transport_len(skb); in ip_mc_check_igmp_csum() local1595 skb_chk = skb_checksum_trimmed(skb, transport_len, in ip_mc_check_igmp_csum()
3425 unsigned int transport_len = ip_transport_len(skb); in br_ip4_multicast_query() local3443 if (transport_len == sizeof(*ih)) { in br_ip4_multicast_query()3450 } else if (transport_len >= sizeof(*ih3)) { in br_ip4_multicast_query()3506 unsigned int transport_len = ipv6_transport_len(skb); in br_ip6_multicast_query() local3524 if (transport_len == sizeof(*mld)) { in br_ip6_multicast_query()
5661 unsigned int transport_len) in skb_checksum_maybe_trim() argument5664 unsigned int len = skb_transport_offset(skb) + transport_len; in skb_checksum_maybe_trim()5701 unsigned int transport_len, in skb_checksum_trimmed() argument5708 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()