/linux-2.4.37.9/include/net/ |
D | checksum.h | 48 csum += saddr->s6_addr32[0]; in csum_ipv6_magic() 49 carry = (csum < saddr->s6_addr32[0]); in csum_ipv6_magic() 52 csum += saddr->s6_addr32[1]; in csum_ipv6_magic() 53 carry = (csum < saddr->s6_addr32[1]); in csum_ipv6_magic() 56 csum += saddr->s6_addr32[2]; in csum_ipv6_magic() 57 carry = (csum < saddr->s6_addr32[2]); in csum_ipv6_magic() 60 csum += saddr->s6_addr32[3]; in csum_ipv6_magic() 61 carry = (csum < saddr->s6_addr32[3]); in csum_ipv6_magic() 64 csum += daddr->s6_addr32[0]; in csum_ipv6_magic() 65 carry = (csum < daddr->s6_addr32[0]); in csum_ipv6_magic() [all …]
|
D | addrconf.h | 178 word = addr->s6_addr[2] ^ addr->s6_addr32[3]; in ipv6_addr_hash() 195 __constant_htonl(0xFF000000) | addr->s6_addr32[3]); in addrconf_addr_solict_mult() 215 return (addr->s6_addr32[0] & __constant_htonl(0xFF000000)) == __constant_htonl(0xFF000000); in ipv6_addr_is_multicast() 220 return (addr->s6_addr32[0] == htonl(0xff020000) && in ipv6_addr_is_ll_all_nodes() 221 addr->s6_addr32[1] == 0 && in ipv6_addr_is_ll_all_nodes() 222 addr->s6_addr32[2] == 0 && in ipv6_addr_is_ll_all_nodes() 223 addr->s6_addr32[3] == htonl(0x00000001)); in ipv6_addr_is_ll_all_nodes() 228 return (addr->s6_addr32[0] == htonl(0xff020000) && in ipv6_addr_is_ll_all_routers() 229 addr->s6_addr32[1] == 0 && in ipv6_addr_is_ll_all_routers() 230 addr->s6_addr32[2] == 0 && in ipv6_addr_is_ll_all_routers() [all …]
|
D | if_inet6.h | 172 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); in ipv6_eth_mc_map() 182 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map() 183 (addr->s6_addr32[2] == 0) && in ipv6_tr_mc_map() 189 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map() 205 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map() 206 (addr->s6_addr32[2] == 0) && in ipv6_tr_mc_map()
|
D | ipv6.h | 248 addr->s6_addr32[0] = w1; in ipv6_addr_set() 249 addr->s6_addr32[1] = w2; in ipv6_addr_set() 250 addr->s6_addr32[2] = w3; in ipv6_addr_set() 251 addr->s6_addr32[3] = w4; in ipv6_addr_set() 257 return ((a->s6_addr32[0] | a->s6_addr32[1] | in ipv6_addr_any() 258 a->s6_addr32[2] | a->s6_addr32[3] ) == 0); in ipv6_addr_any()
|
/linux-2.4.37.9/net/ipv6/ |
D | tcp_ipv6.c | 73 hashent ^= (laddr->s6_addr32[3] ^ faddr->s6_addr32[3]); in tcp_v6_hashfn() 378 a = raddr->s6_addr32[0]; in tcp_v6_synq_hash() 379 b = raddr->s6_addr32[1]; in tcp_v6_synq_hash() 380 c = raddr->s6_addr32[2]; in tcp_v6_synq_hash() 387 a += raddr->s6_addr32[3]; in tcp_v6_synq_hash() 432 return secure_tcpv6_sequence_number(skb->nh.ipv6h->daddr.s6_addr32, in tcp_v6_init_sequence() 433 skb->nh.ipv6h->saddr.s6_addr32, in tcp_v6_init_sequence() 636 sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; in tcp_v6_connect() 709 tp->write_seq = secure_tcpv6_sequence_number(np->saddr.s6_addr32, in tcp_v6_connect() 710 np->daddr.s6_addr32, in tcp_v6_connect() [all …]
|
D | addrconf.c | 153 st = addr->s6_addr32[0]; in ipv6_addr_type() 176 ((addr->s6_addr32[2] == htonl(0xFDFFFFFF) && in ipv6_addr_type() 177 (addr->s6_addr32[3] | htonl(0x7F)) == (u32)~0) || in ipv6_addr_type() 178 (addr->s6_addr32[2] == 0 && addr->s6_addr32[3] == 0))) in ipv6_addr_type() 196 if ((addr->s6_addr32[0] | addr->s6_addr32[1]) == 0) { in ipv6_addr_type() 197 if (addr->s6_addr32[2] == 0) { in ipv6_addr_type() 201 if (addr->s6_addr32[3] == htonl(0x00000001)) in ipv6_addr_type() 207 if (addr->s6_addr32[2] == htonl(0x0000ffff)) in ipv6_addr_type() 348 case 4: prefix->s6_addr32[3] = addr->s6_addr32[3]; in ipv6_addr_prefix() 349 case 3: prefix->s6_addr32[2] = addr->s6_addr32[2]; in ipv6_addr_prefix() [all …]
|
D | reassembly.c | 128 a = saddr->s6_addr32[0]; in ip6qhashfn() 129 b = saddr->s6_addr32[1]; in ip6qhashfn() 130 c = saddr->s6_addr32[2]; in ip6qhashfn() 137 a += saddr->s6_addr32[3]; in ip6qhashfn() 138 b += daddr->s6_addr32[0]; in ip6qhashfn() 139 c += daddr->s6_addr32[1]; in ip6qhashfn() 142 a += daddr->s6_addr32[2]; in ip6qhashfn() 143 b += daddr->s6_addr32[3]; in ip6qhashfn()
|
D | udp.c | 280 sin.sin_addr.s_addr = daddr->s6_addr32[3]; in udpv6_connect() 857 sin.sin_addr.s_addr = daddr->s6_addr32[3]; in udpv6_sendmsg() 948 src->s6_addr32[0], src->s6_addr32[1], in get_udp6_sock() 949 src->s6_addr32[2], src->s6_addr32[3], srcp, in get_udp6_sock() 950 dest->s6_addr32[0], dest->s6_addr32[1], in get_udp6_sock() 951 dest->s6_addr32[2], dest->s6_addr32[3], destp, in get_udp6_sock()
|
D | raw.c | 854 src->s6_addr32[0], src->s6_addr32[1], in get_raw6_sock() 855 src->s6_addr32[2], src->s6_addr32[3], srcp, in get_raw6_sock() 856 dest->s6_addr32[0], dest->s6_addr32[1], in get_raw6_sock() 857 dest->s6_addr32[2], dest->s6_addr32[3], destp, in get_raw6_sock()
|
D | anycast.c | 65 if ((addr1->s6_addr32[i] ^ addr2->s6_addr32[i]) & mask) in ip6_addr_match()
|
D | af_inet6.c | 256 v4addr = addr->sin6_addr.s6_addr32[3]; in inet6_bind()
|
D | sit.c | 495 dst = addr6->s6_addr32[3]; in ipip6_tunnel_xmit()
|
/linux-2.4.37.9/net/sctp/ |
D | ipv6.c | 259 a1xora2 = a1->s6_addr32[i] ^ a2->s6_addr32[i]; in sctp_v6_addr_match_len() 401 inet6_sk(sk)->rcv_saddr.s6_addr32[0] = 0; in sctp_v6_to_sk_saddr() 402 inet6_sk(sk)->rcv_saddr.s6_addr32[1] = 0; in sctp_v6_to_sk_saddr() 403 inet6_sk(sk)->rcv_saddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_saddr() 404 inet6_sk(sk)->rcv_saddr.s6_addr32[3] = in sctp_v6_to_sk_saddr() 415 inet6_sk(sk)->daddr.s6_addr32[0] = 0; in sctp_v6_to_sk_daddr() 416 inet6_sk(sk)->daddr.s6_addr32[1] = 0; in sctp_v6_to_sk_daddr() 417 inet6_sk(sk)->daddr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v6_to_sk_daddr() 418 inet6_sk(sk)->daddr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v6_to_sk_daddr() 472 addr2->v6.sin6_addr.s6_addr32[3] == in sctp_v6_cmp_addr() [all …]
|
/linux-2.4.37.9/include/net/sctp/ |
D | sctp.h | 614 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4() 622 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6() 623 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6() 624 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6() 625 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
|
/linux-2.4.37.9/include/linux/ |
D | in6.h | 40 #define s6_addr32 in6_u.u6_addr32 macro
|
/linux-2.4.37.9/net/sched/ |
D | sch_sfq.c | 154 h = iph->daddr.s6_addr32[3]; in sfq_hash() 155 h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; in sfq_hash()
|
D | cls_rsvp.h | 155 src = &nhptr->saddr.s6_addr32[0]; in rsvp_classify() 156 dst = &nhptr->daddr.s6_addr32[0]; in rsvp_classify()
|
/linux-2.4.37.9/net/ipv4/ |
D | ip_gre.c | 730 dst = addr6->s6_addr32[3]; in ipgre_tunnel_xmit()
|