Home
last modified time | relevance | path

Searched refs:v6 (Results 1 – 12 of 12) sorted by relevance

/net/sctp/
Dipv6.c88 addr->a.v6.sin6_family = AF_INET6; in sctp_inet6addr_event()
89 addr->a.v6.sin6_addr = ifa->addr; in sctp_inet6addr_event()
90 addr->a.v6.sin6_scope_id = ifa->idev->dev->ifindex; in sctp_inet6addr_event()
103 ipv6_addr_equal(&addr->a.v6.sin6_addr, in sctp_inet6addr_event()
105 addr->a.v6.sin6_scope_id == ifa->idev->dev->ifindex) { in sctp_inet6addr_event()
291 fl6->daddr = daddr->v6.sin6_addr; in sctp_v6_get_dst()
292 fl6->fl6_dport = daddr->v6.sin6_port; in sctp_v6_get_dst()
294 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
295 fl6->flowi6_oif = daddr->v6.sin6_scope_id; in sctp_v6_get_dst()
316 fl6->saddr = saddr->v6.sin6_addr; in sctp_v6_get_dst()
[all …]
Ddiag.c47 *(struct in6_addr *)r->id.idiag_src = laddr.v6.sin6_addr; in inet_diag_msg_sctpasoc_fill()
48 *(struct in6_addr *)r->id.idiag_dst = paddr.v6.sin6_addr; in inet_diag_msg_sctpasoc_fill()
443 laddr.v6.sin6_port = req->id.idiag_sport; in sctp_diag_dump_one()
444 memcpy(&laddr.v6.sin6_addr, req->id.idiag_src, in sctp_diag_dump_one()
445 sizeof(laddr.v6.sin6_addr)); in sctp_diag_dump_one()
446 laddr.v6.sin6_family = AF_INET6; 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()
450 sizeof(paddr.v6.sin6_addr)); in sctp_diag_dump_one()
451 paddr.v6.sin6_family = AF_INET6; in sctp_diag_dump_one()
Dinput.c841 addr = jhash(&paddr->v6.sin6_addr, 16, seed); in sctp_hashfn()
1344 &laddr->v6.sin6_addr, ntohs(laddr->v6.sin6_port), in __sctp_rcv_lookup()
1345 &paddr->v6.sin6_addr, ntohs(paddr->v6.sin6_port)); in __sctp_rcv_lookup()
Dprotocol.c644 if (ipv6_addr_type(&addrw->a.v6.sin6_addr) & in sctp_addr_wq_timeout_handler()
648 in6 = (struct in6_addr *)&addrw->a.v6.sin6_addr; in sctp_addr_wq_timeout_handler()
715 if (ipv6_addr_equal(&addrw->a.v6.sin6_addr, in sctp_addr_wq_lookup()
716 &addr->a.v6.sin6_addr)) in sctp_addr_wq_lookup()
Dsocket.c347 if (ipv6_addr_v4mapped(&addr->v6.sin6_addr) && in sctp_sockaddr_af()
846 asoc->asconf_addr_del_pending->v6.sin6_addr = sin6->sin6_addr; in sctp_send_asconf_del_ip()
1700 flowinfo = daddr->v6.sin6_flowinfo; in sctp_sendmsg_new_asoc()
1732 daddr->v6.sin6_flowinfo = flowinfo; in sctp_sendmsg_new_asoc()
1733 daddr->v6.sin6_family = AF_INET6; in sctp_sendmsg_new_asoc()
1734 daddr->v6.sin6_port = htons(asoc->peer.port); in sctp_sendmsg_new_asoc()
1735 memcpy(&daddr->v6.sin6_addr, CMSG_DATA(cmsg), dlen); in sctp_sendmsg_new_asoc()
Dassociola.c647 __be32 info = addr->v6.sin6_flowinfo; in sctp_assoc_add_peer()
Dsm_statefuns.c1274 &from_addr.v6.sin6_addr); in sctp_sf_backbeat_8_3()
/net/netfilter/ipvs/
Dip_vs_sync.c177 struct ip_vs_sync_v6 v6; member
737 s->v6.caddr = cp->caddr.in6; in ip_vs_sync_conn()
738 s->v6.vaddr = cp->vaddr.in6; in ip_vs_sync_conn()
739 s->v6.daddr = cp->daddr.in6; in ip_vs_sync_conn()
796 ip_vs_conn_fill_param(ipvs, af, sc->v6.protocol, in ip_vs_conn_fill_param_sync()
797 (const union nf_inet_addr *)&sc->v6.caddr, in ip_vs_conn_fill_param_sync()
798 sc->v6.cport, in ip_vs_conn_fill_param_sync()
799 (const union nf_inet_addr *)&sc->v6.vaddr, in ip_vs_conn_fill_param_sync()
800 sc->v6.vport, p); in ip_vs_conn_fill_param_sync()
1084 if (s->v6.type & STYPE_F_INET6) { in ip_vs_proc_sync_conn()
[all …]
/net/ipv4/
Dtcp_metrics.c796 unsigned int *hash, int optional, int v4, int v6) in __parse_nl_addr() argument
807 a = info->attrs[v6]; in __parse_nl_addr()
/net/bpf/
Dtest_run.c1553 ctx.v6.daddr = (struct in6_addr *)user_ctx->local_ip6; in bpf_prog_test_run_sk_lookup()
1554 ctx.v6.saddr = (struct in6_addr *)user_ctx->remote_ip6; in bpf_prog_test_run_sk_lookup()
/net/sched/
DKconfig851 ipv4/v6 diffserv and/or to transfer connmark to packet
/net/core/
Dfilter.c11395 offsetof(struct bpf_sk_lookup_kern, v6.saddr)); in sk_lookup_convert_ctx_access()
11411 offsetof(struct bpf_sk_lookup_kern, v6.daddr)); in sk_lookup_convert_ctx_access()