Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv6/
Dmcast_snoop.c75 unsigned int transport_len = ipv6_transport_len(skb); in ipv6_mc_check_mld_query() local
84 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() local
143 skb_chk = skb_checksum_trimmed(skb, transport_len, in ipv6_mc_check_icmpv6()
/Linux-v6.1/net/rxrpc/
Dpeer_event.c56 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_icmp_rcu()
64 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_icmp_rcu()
73 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_icmp_rcu()
121 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_icmp6_rcu()
130 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_icmp6_rcu()
283 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_local_rcu()
288 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
323 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
Dutils.c23 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()
Daf_rxrpc.c92 if (srx->transport_len < sizeof(sa_family_t) || in rxrpc_validate_address()
93 srx->transport_len > len) in rxrpc_validate_address()
102 if (srx->transport_len < sizeof(struct sockaddr_in)) in rxrpc_validate_address()
109 if (srx->transport_len < sizeof(struct sockaddr_in6)) in rxrpc_validate_address()
531 rx->srx.transport_len = sizeof(struct sockaddr_in); in rxrpc_sendmsg()
535 rx->srx.transport_len = sizeof(struct sockaddr_in6); in rxrpc_sendmsg()
Doutput.c202 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_ack_packet()
311 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_abort_packet()
396 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_data_packet()
603 msg.msg_namelen = srx.transport_len; in rxrpc_reject_packets()
643 msg.msg_namelen = peer->srx.transport_len; in rxrpc_send_keepalive()
Dpeer_object.c39 hash_key += srx->transport_len; in rxrpc_peer_hash_key()
86 (peer->srx.transport_len - srx->transport_len) ?: in rxrpc_peer_cmp_key()
Dlocal_event.c42 msg.msg_namelen = srx.transport_len; in rxrpc_send_version_request()
Dlocal_object.c41 (local->srx.transport_len - srx->transport_len) ?: in rxrpc_local_cmp_key()
Dconn_event.c56 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_conn_retransmit_call()
217 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_abort_connection()
Drxkad.c749 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxkad_issue_challenge()
808 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxkad_send_response()
/Linux-v6.1/fs/afs/
Daddr_list.c52 srx->transport_len = sizeof(srx->transport.sin6); in afs_alloc_addrlist()
304 srx->transport_len = sizeof(srx->transport.sin); in afs_merge_fs_addr4()
344 srx->transport_len = sizeof(srx->transport.sin6); in afs_merge_fs_addr6()
Drxrpc.c55 srx.transport_len = sizeof(srx.transport.sin6); in afs_open_socket()
/Linux-v6.1/include/uapi/linux/
Drxrpc.h22 __u16 transport_len; /* length of transport address */ member
/Linux-v6.1/net/openvswitch/
Dactions.c347 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum() local
353 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ip_l4_checksum()
357 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ip_l4_checksum()
383 int transport_len = skb->len - skb_transport_offset(skb); in update_ipv6_checksum() local
386 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ipv6_checksum()
390 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ipv6_checksum()
401 if (likely(transport_len >= sizeof(struct icmp6hdr))) in update_ipv6_checksum()
/Linux-v6.1/net/ipv4/
Digmp.c1538 unsigned int transport_len = ip_transport_len(skb); in ip_mc_check_igmp_query() local
1542 if (transport_len != sizeof(struct igmphdr)) { in ip_mc_check_igmp_query()
1544 if (transport_len < sizeof(struct igmpv3_query)) in ip_mc_check_igmp_query()
1586 unsigned int transport_len = ip_transport_len(skb); in ip_mc_check_igmp_csum() local
1592 skb_chk = skb_checksum_trimmed(skb, transport_len, in ip_mc_check_igmp_csum()
/Linux-v6.1/net/bridge/
Dbr_multicast.c3250 unsigned int transport_len = ip_transport_len(skb); in br_ip4_multicast_query() local
3268 if (transport_len == sizeof(*ih)) { in br_ip4_multicast_query()
3275 } else if (transport_len >= sizeof(*ih3)) { in br_ip4_multicast_query()
3331 unsigned int transport_len = ipv6_transport_len(skb); in br_ip6_multicast_query() local
3349 if (transport_len == sizeof(*mld)) { in br_ip6_multicast_query()
/Linux-v6.1/net/core/
Dskbuff.c5302 unsigned int transport_len) in skb_checksum_maybe_trim() argument
5305 unsigned int len = skb_transport_offset(skb) + transport_len; in skb_checksum_maybe_trim()
5342 unsigned int transport_len, in skb_checksum_trimmed() argument
5349 skb_chk = skb_checksum_maybe_trim(skb, transport_len); in skb_checksum_trimmed()
/Linux-v6.1/include/linux/
Dskbuff.h4962 unsigned int transport_len,