Home
last modified time | relevance | path

Searched refs:nla_put_in6_addr (Results 1 – 25 of 34) sorted by relevance

12

/linux/net/psample/
A Dpsample.c244 nla_put_in6_addr(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV6_SRC, in __psample_ip_tun_to_nlattr()
248 nla_put_in6_addr(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV6_DST, in __psample_ip_tun_to_nlattr()
/linux/net/ipv6/
A Dfib6_rules.c433 nla_put_in6_addr(skb, FRA_DST, &rule6->dst.addr)) || in fib6_rule_fill()
435 nla_put_in6_addr(skb, FRA_SRC, &rule6->src.addr))) in fib6_rule_fill()
A Dioam6_iptunnel.c366 err = nla_put_in6_addr(skb, IOAM6_IPTUNNEL_DST, &ilwt->tundst); in ioam6_fill_encap_info()
A Dip6mr.c2353 if (nla_put_in6_addr(skb, RTA_SRC, &c->mf6c_origin) || in ip6mr_fill_mroute()
2354 nla_put_in6_addr(skb, RTA_DST, &c->mf6c_mcastgrp)) in ip6mr_fill_mroute()
2465 nla_put_in6_addr(skb, IP6MRA_CREPORT_SRC_ADDR, in mrt6msg_netlink_event()
2467 nla_put_in6_addr(skb, IP6MRA_CREPORT_DST_ADDR, in mrt6msg_netlink_event()
A Dip6_vti.c1085 nla_put_in6_addr(skb, IFLA_VTI_LOCAL, &parm->laddr) || in vti6_fill_info()
1086 nla_put_in6_addr(skb, IFLA_VTI_REMOTE, &parm->raddr) || in vti6_fill_info()
A Daddrlabel.c459 if (nla_put_in6_addr(skb, IFAL_ADDRESS, &p->prefix) < 0 || in ip6addrlbl_fill()
A Droute.c5659 if (nla_put_in6_addr(skb, RTA_DST, dest)) in rt6_fill_node()
5663 if (nla_put_in6_addr(skb, RTA_DST, &rt6_dst->addr)) in rt6_fill_node()
5667 if (nla_put_in6_addr(skb, RTA_SRC, src)) in rt6_fill_node()
5671 nla_put_in6_addr(skb, RTA_SRC, &rt6_src->addr)) in rt6_fill_node()
5690 nla_put_in6_addr(skb, RTA_PREFSRC, &saddr_buf)) in rt6_fill_node()
5697 if (nla_put_in6_addr(skb, RTA_PREFSRC, &saddr_buf)) in rt6_fill_node()
5713 nla_put_in6_addr(skb, RTA_GATEWAY, &rt6->rt6i_gateway)) in rt6_fill_node()
A Dip6_tunnel.c2142 nla_put_in6_addr(skb, IFLA_IPTUN_LOCAL, &parm->laddr) || in ip6_tnl_fill_info()
2143 nla_put_in6_addr(skb, IFLA_IPTUN_REMOTE, &parm->raddr) || in ip6_tnl_fill_info()
A Dip6_gre.c2160 nla_put_in6_addr(skb, IFLA_GRE_LOCAL, &p->laddr) || in ip6gre_fill_info()
2161 nla_put_in6_addr(skb, IFLA_GRE_REMOTE, &p->raddr) || in ip6gre_fill_info()
A Daddrconf.c5011 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr()
5012 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr()
5015 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr()
5058 if (nla_put_in6_addr(skb, IFA_MULTICAST, &ifmca->mca_addr) < 0 || in inet6_fill_ifmcaddr()
5092 if (nla_put_in6_addr(skb, IFA_ANYCAST, &ifaca->aca_addr) < 0 || in inet6_fill_ifacaddr()
/linux/net/netlabel/
A Dnetlabel_mgmt.c353 ret_val = nla_put_in6_addr(skb, NLBL_MGMT_A_IPV6ADDR, in netlbl_mgmt_listentry()
357 ret_val = nla_put_in6_addr(skb, NLBL_MGMT_A_IPV6MASK, in netlbl_mgmt_listentry()
A Dnetlabel_unlabeled.c1115 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1121 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
/linux/net/netfilter/
A Dnft_tunnel.c516 if (nla_put_in6_addr(skb, NFTA_TUNNEL_KEY_IP6_SRC, in nft_tunnel_ip_dump()
518 nla_put_in6_addr(skb, NFTA_TUNNEL_KEY_IP6_DST, in nft_tunnel_ip_dump()
/linux/net/sched/
A Dact_tunnel_key.c702 if (!nla_put_in6_addr(skb, in tunnel_key_dump_addresses()
704 !nla_put_in6_addr(skb, in tunnel_key_dump_addresses()
A Dact_ct.c1381 if (nla_put_in6_addr(skb, TCA_CT_NAT_IPV6_MIN, in tcf_ct_dump_nat()
1384 if (nla_put_in6_addr(skb, TCA_CT_NAT_IPV6_MAX, in tcf_ct_dump_nat()
/linux/net/mptcp/
A Dpm_netlink.c1500 nla_put_in6_addr(skb, MPTCP_PM_ADDR_ATTR_ADDR6, &addr->addr6)) in mptcp_nl_fill_addr()
1761 if (nla_put_in6_addr(skb, MPTCP_ATTR_SADDR6, &np->saddr)) in mptcp_event_add_subflow()
1763 if (nla_put_in6_addr(skb, MPTCP_ATTR_DADDR6, &ssk->sk_v6_daddr)) in mptcp_event_add_subflow()
1931 if (nla_put_in6_addr(skb, MPTCP_ATTR_DADDR6, &info->addr6)) in mptcp_event_addr_announced()
/linux/net/ipv4/
A Dtcp_metrics.c637 if (nla_put_in6_addr(msg, TCP_METRICS_ATTR_ADDR_IPV6, in tcp_metrics_fill_info()
640 if (nla_put_in6_addr(msg, TCP_METRICS_ATTR_SADDR_IPV6, in tcp_metrics_fill_info()
A Dip_tunnel_core.c1007 nla_put_in6_addr(skb, LWTUNNEL_IP6_DST, &tun_info->key.u.ipv6.dst) || in ip6_tun_fill_encap_info()
1008 nla_put_in6_addr(skb, LWTUNNEL_IP6_SRC, &tun_info->key.u.ipv6.src) || in ip6_tun_fill_encap_info()
A Dfou.c812 if (nla_put_in6_addr(msg, FOU_ATTR_LOCAL_V6, in fou_fill_info()
816 if (nla_put_in6_addr(msg, FOU_ATTR_PEER_V6, &sk->sk_v6_daddr)) in fou_fill_info()
/linux/include/linux/netfilter/ipset/
A Dip_set.h418 ret = nla_put_in6_addr(skb, IPSET_ATTR_IPADDR_IPV6, ipaddrptr); in nla_put_ipaddr6()
/linux/net/l2tp/
A Dl2tp_netlink.c336 if (nla_put_in6_addr(skb, L2TP_ATTR_IP6_SADDR, &np->saddr) || in l2tp_nl_tunnel_send_addr6()
337 nla_put_in6_addr(skb, L2TP_ATTR_IP6_DADDR, &sk->sk_v6_daddr)) in l2tp_nl_tunnel_send_addr6()
/linux/net/bridge/
A Dbr_mdb.c202 if (nla_put_in6_addr(skb, MDBA_MDB_SRCATTR_ADDRESS, in __mdb_fill_srcs()
288 if (nla_put_in6_addr(skb, MDBA_MDB_EATTR_SOURCE, in __mdb_fill_info()
/linux/net/openvswitch/
A Dconntrack.c1758 if (nla_put_in6_addr(skb, OVS_NAT_ATTR_IP_MIN, in ovs_ct_nat_to_attr()
1763 (nla_put_in6_addr(skb, OVS_NAT_ATTR_IP_MAX, in ovs_ct_nat_to_attr()
/linux/include/net/
A Dnetlink.h1527 static inline int nla_put_in6_addr(struct sk_buff *skb, int attrtype, in nla_put_in6_addr() function
/linux/drivers/net/
A Dvxlan.c130 return nla_put_in6_addr(skb, attr, &ip->sin6.sin6_addr); in vxlan_nla_put_addr()
4377 if (nla_put_in6_addr(skb, IFLA_VXLAN_GROUP6, in vxlan_fill_info()
4394 if (nla_put_in6_addr(skb, IFLA_VXLAN_LOCAL6, in vxlan_fill_info()

Completed in 111 milliseconds

12