Searched refs:paddr (Results 1 – 6 of 6) sorted by relevance
/net/sctp/ |
D | input.c | 51 const union sctp_addr *paddr, 841 const union sctp_addr *paddr, __u32 seed) in sctp_hashfn() argument 845 if (paddr->sa.sa_family == AF_INET6) in sctp_hashfn() 846 addr = jhash(&paddr->v6.sin6_addr, 16, seed); in sctp_hashfn() 848 addr = (__force __u32)paddr->v4.sin_addr.s_addr; in sctp_hashfn() 850 return jhash_3words(addr, ((__force __u32)paddr->v4.sin_port) << 16 | in sctp_hashfn() 858 const union sctp_addr *paddr) in __sctp_rcv_lookup_endpoint() argument 882 __u32 phash = sctp_hashfn(net, lport, paddr, 0); in __sctp_rcv_lookup_endpoint() 896 const union sctp_addr *paddr; member 908 if (!sctp_cmp_addr_exact(&t->ipaddr, x->paddr)) in sctp_hash_cmp() [all …]
|
D | diag.c | 30 union sctp_addr laddr, paddr; in inet_diag_msg_sctpasoc_fill() local 36 paddr = asoc->peer.primary_path->ipaddr; in inet_diag_msg_sctpasoc_fill() 48 *(struct in6_addr *)r->id.idiag_dst = paddr.v6.sin6_addr; in inet_diag_msg_sctpasoc_fill() 56 r->id.idiag_dst[0] = paddr.v4.sin_addr.s_addr; in inet_diag_msg_sctpasoc_fill() 426 union sctp_addr laddr, paddr; in sctp_diag_dump_one() local 439 paddr.v4.sin_port = req->id.idiag_dport; in sctp_diag_dump_one() 440 paddr.v4.sin_addr.s_addr = req->id.idiag_dst[0]; in sctp_diag_dump_one() 441 paddr.v4.sin_family = AF_INET; in sctp_diag_dump_one() 448 paddr.v6.sin6_port = req->id.idiag_dport; in sctp_diag_dump_one() 449 memcpy(&paddr.v6.sin6_addr, req->id.idiag_dst, in sctp_diag_dump_one() [all …]
|
D | endpointola.c | 269 const union sctp_addr *paddr, in sctp_endpoint_lookup_assoc() argument 284 t = sctp_epaddr_lookup_transport(ep, paddr); in sctp_endpoint_lookup_assoc() 299 const union sctp_addr *paddr) in sctp_endpoint_is_peeled_off() argument 310 if (sctp_has_association(net, &addr->a, paddr)) in sctp_endpoint_is_peeled_off()
|
D | ipv6.c | 863 union sctp_addr *paddr; in sctp_inet6_event_msgname() local 870 paddr = &asoc->peer.primary_addr; in sctp_inet6_event_msgname() 872 if (paddr->sa.sa_family == AF_INET) { in sctp_inet6_event_msgname() 875 addr->v4.sin_addr = paddr->v4.sin_addr; in sctp_inet6_event_msgname() 879 if (ipv6_addr_type(&paddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_inet6_event_msgname() 880 addr->v6.sin6_scope_id = paddr->v6.sin6_scope_id; in sctp_inet6_event_msgname() 884 addr->v6.sin6_addr = paddr->v6.sin6_addr; in sctp_inet6_event_msgname()
|
D | socket.c | 5336 const union sctp_addr *paddr, void *p) in sctp_transport_lookup_process() argument 5343 transport = sctp_addrs_lookup_transport(net, laddr, paddr); in sctp_transport_lookup_process()
|
/net/can/j1939/ |
D | socket.c | 850 struct sockaddr_can *paddr = msg->msg_name; in j1939_sk_recvmsg() local 854 paddr->can_family = AF_CAN; in j1939_sk_recvmsg() 855 paddr->can_ifindex = skb->skb_iif; in j1939_sk_recvmsg() 856 paddr->can_addr.j1939.name = skcb->addr.src_name; in j1939_sk_recvmsg() 857 paddr->can_addr.j1939.addr = skcb->addr.sa; in j1939_sk_recvmsg() 858 paddr->can_addr.j1939.pgn = skcb->addr.pgn; in j1939_sk_recvmsg()
|