Home
last modified time | relevance | path

Searched refs:saddr (Results 1 - 25 of 1406) sorted by relevance

12345678910>>...57

/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_hash.h20 const xfrm_address_t *saddr) in __xfrm4_daddr_saddr_hash()
22 u32 sum = (__force u32)daddr->a4 + (__force u32)saddr->a4; in __xfrm4_daddr_saddr_hash()
27 const xfrm_address_t *saddr) in __xfrm6_daddr_saddr_hash()
29 return __xfrm6_addr_hash(daddr) ^ __xfrm6_addr_hash(saddr); in __xfrm6_daddr_saddr_hash()
45 const xfrm_address_t *saddr, in __xfrm4_dpref_spref_hash()
50 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash()
76 const xfrm_address_t *saddr, in __xfrm6_dpref_spref_hash()
81 __xfrm6_pref_hash(saddr, sbits); in __xfrm6_dpref_spref_hash()
85 const xfrm_address_t *saddr, in __xfrm_dst_hash()
92 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash()
19 __xfrm4_daddr_saddr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr) __xfrm4_daddr_saddr_hash() argument
26 __xfrm6_daddr_saddr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr) __xfrm6_daddr_saddr_hash() argument
44 __xfrm4_dpref_spref_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, __u8 dbits, __u8 sbits) __xfrm4_dpref_spref_hash() argument
75 __xfrm6_dpref_spref_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, __u8 dbits, __u8 sbits) __xfrm6_dpref_spref_hash() argument
84 __xfrm_dst_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, u32 reqid, unsigned short family, unsigned int hmask) __xfrm_dst_hash() argument
101 __xfrm_src_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask) __xfrm_src_hash() argument
144 const xfrm_address_t *saddr = &sel->saddr; __sel_hash() local
168 __addr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask, u8 dbits, u8 sbits) __addr_hash() argument
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_hash.h20 const xfrm_address_t *saddr) in __xfrm4_daddr_saddr_hash()
22 u32 sum = (__force u32)daddr->a4 + (__force u32)saddr->a4; in __xfrm4_daddr_saddr_hash()
27 const xfrm_address_t *saddr) in __xfrm6_daddr_saddr_hash()
29 return __xfrm6_addr_hash(daddr) ^ __xfrm6_addr_hash(saddr); in __xfrm6_daddr_saddr_hash()
45 const xfrm_address_t *saddr, in __xfrm4_dpref_spref_hash()
50 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash()
76 const xfrm_address_t *saddr, in __xfrm6_dpref_spref_hash()
81 __xfrm6_pref_hash(saddr, sbits); in __xfrm6_dpref_spref_hash()
85 const xfrm_address_t *saddr, in __xfrm_dst_hash()
92 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash()
19 __xfrm4_daddr_saddr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr) __xfrm4_daddr_saddr_hash() argument
26 __xfrm6_daddr_saddr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr) __xfrm6_daddr_saddr_hash() argument
44 __xfrm4_dpref_spref_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, __u8 dbits, __u8 sbits) __xfrm4_dpref_spref_hash() argument
75 __xfrm6_dpref_spref_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, __u8 dbits, __u8 sbits) __xfrm6_dpref_spref_hash() argument
84 __xfrm_dst_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, u32 reqid, unsigned short family, unsigned int hmask) __xfrm_dst_hash() argument
101 __xfrm_src_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask) __xfrm_src_hash() argument
151 const xfrm_address_t *saddr = &sel->saddr; __sel_hash() local
175 __addr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask, u8 dbits, u8 sbits) __addr_hash() argument
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dsecure_seq.c57 const __be32 *saddr, const __be32 *daddr) in secure_tcpv6_ts_off()
60 struct in6_addr saddr; in secure_tcpv6_ts_off() member
63 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_ts_off()
76 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, in secure_tcpv6_seq() argument
80 struct in6_addr saddr; in secure_tcpv6_seq() member
85 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_seq()
99 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, in secure_ipv6_port_ephemeral() argument
103 struct in6_addr saddr; in secure_ipv6_port_ephemeral() member
56 secure_tcpv6_ts_off(const struct net *net, const __be32 *saddr, const __be32 *daddr) secure_tcpv6_ts_off() argument
121 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr) secure_tcp_ts_off() argument
136 secure_tcp_seq(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) secure_tcp_seq() argument
149 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) secure_ipv4_port_ephemeral() argument
161 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) secure_dccp_sequence_number() argument
176 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, __be16 sport, __be16 dport) secure_dccpv6_sequence_number() argument
180 struct in6_addr saddr; secure_dccpv6_sequence_number() member
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dsecure_seq.c57 const __be32 *saddr, const __be32 *daddr) in secure_tcpv6_ts_off()
60 struct in6_addr saddr; in secure_tcpv6_ts_off() member
63 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_ts_off()
76 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, in secure_tcpv6_seq() argument
80 struct in6_addr saddr; in secure_tcpv6_seq() member
85 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_seq()
99 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, in secure_ipv6_port_ephemeral() argument
103 struct in6_addr saddr; in secure_ipv6_port_ephemeral() member
56 secure_tcpv6_ts_off(const struct net *net, const __be32 *saddr, const __be32 *daddr) secure_tcpv6_ts_off() argument
121 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr) secure_tcp_ts_off() argument
136 secure_tcp_seq(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) secure_tcp_seq() argument
149 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) secure_ipv4_port_ephemeral() argument
161 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) secure_dccp_sequence_number() argument
176 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, __be16 sport, __be16 dport) secure_dccpv6_sequence_number() argument
180 struct in6_addr saddr; secure_dccpv6_sequence_number() member
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dip6_checksum.h34 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo()
47 const struct in6_addr *saddr, in tcp_v6_check()
51 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
55 const struct in6_addr *saddr, in __tcp_v6_send_check()
60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
75 const struct in6_addr *saddr, in udp_v6_check()
79 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v6_check()
83 const struct in6_addr *saddr,
46 tcp_v6_check(int len, const struct in6_addr *saddr, const struct in6_addr *daddr, __wsum base) tcp_v6_check() argument
54 __tcp_v6_send_check(struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr) __tcp_v6_send_check() argument
74 udp_v6_check(int len, const struct in6_addr *saddr, const struct in6_addr *daddr, __wsum base) udp_v6_check() argument
[all...]
H A Dsecure_seq.h9 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
10 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
12 u32 secure_tcp_seq(__be32 saddr, __be32 daddr,
14 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr);
15 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr,
18 const __be32 *saddr, const __be32 *daddr);
19 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
21 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
H A Dinet6_hashtables.h45 const struct in6_addr *saddr,
61 const struct in6_addr *saddr,
70 const struct in6_addr *saddr,
79 const struct in6_addr *saddr,
88 const struct in6_addr *saddr, in __inet6_lookup()
95 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup()
102 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup()
108 const struct in6_addr *saddr, const __be16 sport, in inet6_steal_sock()
133 saddr, sport, daddr, ntohs(dport), in inet6_steal_sock()
157 sk = inet6_steal_sock(net, skb, doff, &ip6h->saddr, spor in __inet6_lookup_skb()
85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument
107 inet6_steal_sock(struct net *net, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, bool *refcounted, inet6_ehashfn_t *ehashfn) inet6_steal_sock() argument
178 inet6_match(struct net *net, const struct sock *sk, const struct in6_addr *saddr, const struct in6_addr *daddr, const __portpair ports, const int dif, const int sdif) inet6_match() argument
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dsecure_seq.h7 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
8 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
10 u32 secure_tcp_seq(__be32 saddr, __be32 daddr,
12 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr);
13 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr,
16 const __be32 *saddr, const __be32 *daddr);
17 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
19 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
H A Dip6_checksum.h34 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo()
50 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
55 const struct in6_addr *saddr, in tcp_v6_check()
59 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
63 const struct in6_addr *saddr, in __tcp_v6_send_check()
69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
73 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
85 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
89 const struct in6_addr *saddr, in udp_v6_check()
54 tcp_v6_check(int len, const struct in6_addr *saddr, const struct in6_addr *daddr, __wsum base) tcp_v6_check() argument
62 __tcp_v6_send_check(struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr) __tcp_v6_send_check() argument
88 udp_v6_check(int len, const struct in6_addr *saddr, const struct in6_addr *daddr, __wsum base) udp_v6_check() argument
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_checksum.c8 __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument
18 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic()
31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
116 const struct in6_addr *saddr, in udp6_set_csum()
115 udp6_set_csum(bool nocheck, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, int len) udp6_set_csum() argument
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_checksum.c8 __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument
18 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic()
31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
116 const struct in6_addr *saddr, in udp6_set_csum()
115 udp6_set_csum(bool nocheck, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, int len) udp6_set_csum() argument
[all...]
/third_party/backends/sanei/
H A Dsanei_udp.c90 struct sockaddr_in saddr; in sanei_udp_connect() local
99 memset(&saddr, 0x00, sizeof(struct sockaddr_in)); in sanei_udp_connect()
101 saddr.sin_family = AF_INET; in sanei_udp_connect()
102 saddr.sin_port = htons(port); in sanei_udp_connect()
103 memcpy(&saddr.sin_addr, h->h_addr_list[0], h->h_length); in sanei_udp_connect()
105 if ((err = connect(fd, (struct sockaddr *) &saddr, in sanei_udp_connect()
176 struct sockaddr_in saddr; in sanei_udp_write_broadcast() local
178 memset(&saddr, 0x00, sizeof(struct sockaddr_in)); in sanei_udp_write_broadcast()
180 saddr.sin_family = AF_INET; in sanei_udp_write_broadcast()
181 saddr in sanei_udp_write_broadcast()
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dtcp.h15 #define TP_STORE_V4MAPPED(__entry, saddr, daddr) \
20 ipv6_addr_set_v4mapped(saddr, pin6); \
26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \
36 TP_STORE_V4MAPPED(__entry, saddr, daddr); \
40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \
41 TP_STORE_V4MAPPED(__entry, saddr, daddr)
63 __array(__u8, saddr, 4)
81 p32 = (__be32 *) __entry->saddr;
91 TP_printk("family=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c state=%s",
93 __entry->sport, __entry->dport, __entry->saddr, __entr
[all...]
/third_party/node/deps/uv/src/unix/
H A Dpipe.c45 struct sockaddr_un saddr; in uv_pipe_bind() local
81 memset(&saddr, 0, sizeof saddr); in uv_pipe_bind()
83 saddr.sun_path[0] = '\0'; in uv_pipe_bind()
84 uv__strscpy(saddr.sun_path + 1, pipe_fname + 1, sizeof(saddr.sun_path)); in uv_pipe_bind()
86 uv__strscpy(saddr.sun_path, pipe_fname, sizeof(saddr.sun_path)); in uv_pipe_bind()
88 saddr.sun_family = AF_UNIX; in uv_pipe_bind()
90 if (bind(sockfd, (struct sockaddr*)&saddr, sizeo in uv_pipe_bind()
195 struct sockaddr_un saddr; uv_pipe_connect() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_chain_route.c22 __be32 saddr, daddr; in nf_route_table_hook4() local
33 saddr = iph->saddr; in nf_route_table_hook4()
41 if (iph->saddr != saddr || in nf_route_table_hook4()
69 struct in6_addr saddr, daddr; in nf_route_table_hook6() local
80 memcpy(&saddr, &ipv6_hdr(skb)->saddr, sizeof(saddr)); in nf_route_table_hook6()
90 (memcmp(&ipv6_hdr(skb)->saddr, in nf_route_table_hook6()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_chain_route.c22 __be32 saddr, daddr; in nf_route_table_hook4() local
33 saddr = iph->saddr; in nf_route_table_hook4()
41 if (iph->saddr != saddr || in nf_route_table_hook4()
69 struct in6_addr saddr, daddr; in nf_route_table_hook6() local
80 memcpy(&saddr, &ipv6_hdr(skb)->saddr, sizeof(saddr)); in nf_route_table_hook6()
90 (memcmp(&ipv6_hdr(skb)->saddr, in nf_route_table_hook6()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dndisc_snoop.c102 struct in6_addr saddr; in handle_ndisc() local
121 os_memcpy(&saddr, &msg->ipv6h.ip6_src, sizeof(saddr)); in handle_ndisc()
122 if (!(saddr.s6_addr32[0] == 0 && saddr.s6_addr32[1] == 0 && in handle_ndisc()
123 saddr.s6_addr32[2] == 0 && saddr.s6_addr32[3] == 0)) { in handle_ndisc()
130 if (sta_has_ip6addr(sta, &saddr)) in handle_ndisc()
133 if (inet_ntop(AF_INET6, &saddr, addrtxt, in handle_ndisc()
138 hostapd_drv_br_delete_ip_neigh(hapd, 6, (u8 *) &saddr); in handle_ndisc()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dndisc_snoop.c102 struct in6_addr saddr; in handle_ndisc() local
121 os_memcpy(&saddr, &msg->ipv6h.ip6_src, sizeof(saddr)); in handle_ndisc()
122 if (!(saddr.s6_addr32[0] == 0 && saddr.s6_addr32[1] == 0 && in handle_ndisc()
123 saddr.s6_addr32[2] == 0 && saddr.s6_addr32[3] == 0)) { in handle_ndisc()
130 if (sta_has_ip6addr(sta, &saddr)) in handle_ndisc()
133 if (inet_ntop(AF_INET6, &saddr, addrtxt, in handle_ndisc()
138 hostapd_drv_br_delete_ip_neigh(hapd, 6, (u8 *) &saddr); in handle_ndisc()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dtcp.h15 #define TP_STORE_V4MAPPED(__entry, saddr, daddr) \
20 ipv6_addr_set_v4mapped(saddr, pin6); \
26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \
36 TP_STORE_V4MAPPED(__entry, saddr, daddr); \
40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \
41 TP_STORE_V4MAPPED(__entry, saddr, daddr)
62 __array(__u8, saddr, 4)
79 p32 = (__be32 *) __entry->saddr;
89 TP_printk("sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c state=%s",
90 __entry->sport, __entry->dport, __entry->saddr, __entr
[all...]
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/
H A Dratelimiter.c56 hdr4->saddr = htonl(ntohl(hdr4->saddr) + i + 1); in timings_test()
64 hdr4->saddr = htonl(ntohl(hdr4->saddr) - i - 1); in timings_test()
67 hdr6->saddr.in6_u.u6_addr32[2] = htonl(i); in timings_test()
68 hdr6->saddr.in6_u.u6_addr32[3] = htonl(i); in timings_test()
77 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
78 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) + i + 1); in timings_test()
86 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
87 htonl(ntohl(hdr6->saddr in timings_test()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireguard/selftest/
H A Dratelimiter.c56 hdr4->saddr = htonl(ntohl(hdr4->saddr) + i + 1); in timings_test()
64 hdr4->saddr = htonl(ntohl(hdr4->saddr) - i - 1); in timings_test()
67 hdr6->saddr.in6_u.u6_addr32[2] = htonl(i); in timings_test()
68 hdr6->saddr.in6_u.u6_addr32[3] = htonl(i); in timings_test()
77 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
78 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) + i + 1); in timings_test()
86 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
87 htonl(ntohl(hdr6->saddr in timings_test()
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dchecksum.h99 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument
113 : "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold()
126 : "r" (sum), "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold()
136 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument
139 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
155 __csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __be32 len,
159 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, in csum_ipv6_magic() argument
162 return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), in csum_ipv6_magic()
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dchecksum.h100 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument
114 : "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold()
127 : "r" (sum), "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold()
137 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument
140 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
156 __csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __be32 len,
160 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, in csum_ipv6_magic() argument
163 return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), in csum_ipv6_magic()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dninet_hashtables.c69 __u32 secure_tcp_nip_sequence_number(const __be32 *saddr, const __be32 *daddr, in secure_tcp_nip_sequence_number() argument
73 struct nip_addr saddr; in secure_tcp_nip_sequence_number() member
78 .saddr = *(struct nip_addr *)saddr, in secure_tcp_nip_sequence_number()
92 u64 secure_newip_port_ephemeral(const __be32 *saddr, const __be32 *daddr, in secure_newip_port_ephemeral() argument
96 struct nip_addr saddr; in secure_newip_port_ephemeral() member
100 .saddr = *(struct nip_addr *)saddr, in secure_newip_port_ephemeral()
111 const struct nip_addr *saddr, in nip_portaddr_hash()
114 u32 v = (__force u32)saddr in nip_portaddr_hash()
110 nip_portaddr_hash(const struct net *net, const struct nip_addr *saddr, unsigned int port) nip_portaddr_hash() argument
304 __ninet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif) __ninet_lookup_established() argument
372 ninet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct nip_addr *saddr, __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lhash2_lookup() argument
412 ninet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lookup_listener() argument
453 struct nip_addr *saddr = &sk->SK_NIP_DADDR; __ninet_check_established() local
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dchecksum.h78 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument
83 csum += (__force __u32)saddr; in csum_tcpudp_nofold()
95 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument
98 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
110 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument
116 sum += (__force __u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
117 sum += (__force __u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
118 sum += (__force __u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
119 sum += (__force __u32)saddr->s6_addr32[3]; in csum_ipv6_magic()

Completed in 8 milliseconds

12345678910>>...57