/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_private.h | 110 return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); in vxlan_nla_put_addr() 146 return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); in vxlan_nla_put_addr()
|
/openbmc/linux/net/ipv4/ |
H A D | fib_rules.c | 350 nla_put_in_addr(skb, FRA_DST, rule4->dst)) || in fib4_rule_fill() 352 nla_put_in_addr(skb, FRA_SRC, rule4->src))) in fib4_rule_fill()
|
H A D | ipip.c | 516 nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || in ipip_fill_info() 517 nla_put_in_addr(skb, IFLA_IPTUN_REMOTE, parm->iph.daddr) || in ipip_fill_info()
|
H A D | ip_vti.c | 612 nla_put_in_addr(skb, IFLA_VTI_LOCAL, p->iph.saddr) || in vti_fill_info() 613 nla_put_in_addr(skb, IFLA_VTI_REMOTE, p->iph.daddr) || in vti_fill_info()
|
H A D | tcp_metrics.c | 648 if (nla_put_in_addr(msg, TCP_METRICS_ATTR_ADDR_IPV4, in tcp_metrics_fill_info() 651 if (nla_put_in_addr(msg, TCP_METRICS_ATTR_SADDR_IPV4, in tcp_metrics_fill_info()
|
H A D | ip_tunnel_core.c | 845 nla_put_in_addr(skb, LWTUNNEL_IP_DST, tun_info->key.u.ipv4.dst) || in ip_tun_fill_encap_info() 846 nla_put_in_addr(skb, LWTUNNEL_IP_SRC, tun_info->key.u.ipv4.src) || in ip_tun_fill_encap_info()
|
H A D | fou_core.c | 798 if (nla_put_in_addr(msg, FOU_ATTR_LOCAL_V4, sk->sk_rcv_saddr)) in fou_fill_info() 801 if (nla_put_in_addr(msg, FOU_ATTR_PEER_V4, sk->sk_daddr)) in fou_fill_info()
|
H A D | fib_semantics.c | 1660 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info() 1809 nla_put_in_addr(skb, RTA_DST, fri->dst)) in fib_dump_info() 1818 nla_put_in_addr(skb, RTA_PREFSRC, fi->fib_prefsrc)) in fib_dump_info()
|
H A D | ipmr.c | 2342 if (nla_put_in_addr(skb, RTA_SRC, c->mfc_origin) || in ipmr_fill_mroute() 2343 nla_put_in_addr(skb, RTA_DST, c->mfc_mcastgrp)) in ipmr_fill_mroute() 2454 nla_put_in_addr(skb, IPMRA_CREPORT_SRC_ADDR, in igmpmsg_netlink_event() 2456 nla_put_in_addr(skb, IPMRA_CREPORT_DST_ADDR, in igmpmsg_netlink_event()
|
H A D | devinet.c | 1732 nla_put_in_addr(skb, IFA_ADDRESS, ifa->ifa_address)) || in inet_fill_ifaddr() 1734 nla_put_in_addr(skb, IFA_LOCAL, ifa->ifa_local)) || in inet_fill_ifaddr() 1736 nla_put_in_addr(skb, IFA_BROADCAST, ifa->ifa_broadcast)) || in inet_fill_ifaddr()
|
H A D | ip_gre.c | 1512 nla_put_in_addr(skb, IFLA_GRE_LOCAL, p->iph.saddr) || in ipgre_fill_info() 1513 nla_put_in_addr(skb, IFLA_GRE_REMOTE, p->iph.daddr) || in ipgre_fill_info()
|
H A D | route.c | 2964 if (nla_put_in_addr(skb, RTA_DST, dst)) in rt_fill_info() 2968 if (nla_put_in_addr(skb, RTA_SRC, src)) in rt_fill_info() 2984 if (nla_put_in_addr(skb, RTA_PREFSRC, fl4->saddr)) in rt_fill_info() 2989 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
|
/openbmc/linux/net/psample/ |
H A D | psample.c | 236 nla_put_in_addr(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV4_SRC, in __psample_ip_tun_to_nlattr() 240 nla_put_in_addr(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV4_DST, in __psample_ip_tun_to_nlattr()
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_mgmt.c | 319 ret_val = nla_put_in_addr(skb, NLBL_MGMT_A_IPV4ADDR, in netlbl_mgmt_listentry() 324 ret_val = nla_put_in_addr(skb, NLBL_MGMT_A_IPV4MASK, in netlbl_mgmt_listentry()
|
H A D | netlabel_unlabeled.c | 1100 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen() 1107 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_tunnel.c | 562 if (nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_SRC, in nft_tunnel_ip_dump() 564 nla_put_in_addr(skb, NFTA_TUNNEL_KEY_IP_DST, in nft_tunnel_ip_dump()
|
/openbmc/linux/net/sched/ |
H A D | act_tunnel_key.c | 697 if (!nla_put_in_addr(skb, TCA_TUNNEL_KEY_ENC_IPV4_SRC, saddr) && in tunnel_key_dump_addresses() 698 !nla_put_in_addr(skb, TCA_TUNNEL_KEY_ENC_IPV4_DST, daddr)) in tunnel_key_dump_addresses()
|
H A D | act_ct.c | 1448 if (nla_put_in_addr(skb, TCA_CT_NAT_IPV4_MIN, in tcf_ct_dump_nat() 1451 if (nla_put_in_addr(skb, TCA_CT_NAT_IPV4_MAX, in tcf_ct_dump_nat()
|
/openbmc/linux/net/mptcp/ |
H A D | pm_netlink.c | 1826 nla_put_in_addr(skb, MPTCP_PM_ADDR_ATTR_ADDR4, in mptcp_nl_fill_addr() 2137 if (nla_put_in_addr(skb, MPTCP_ATTR_SADDR4, issk->inet_saddr)) in mptcp_event_add_subflow() 2139 if (nla_put_in_addr(skb, MPTCP_ATTR_DADDR4, issk->inet_daddr)) in mptcp_event_add_subflow() 2319 if (nla_put_in_addr(skb, MPTCP_ATTR_DADDR4, info->addr.s_addr)) in mptcp_event_addr_announced() 2368 if (nla_put_in_addr(skb, MPTCP_ATTR_SADDR4, issk->inet_saddr)) in mptcp_event_pm_listener()
|
/openbmc/linux/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 408 ret = nla_put_in_addr(skb, IPSET_ATTR_IPADDR_IPV4, ipaddr); in nla_put_ipaddr4()
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_netlink.c | 358 if (nla_put_in_addr(skb, L2TP_ATTR_IP_SADDR, inet->inet_saddr) || in l2tp_nl_tunnel_send_addr4() 359 nla_put_in_addr(skb, L2TP_ATTR_IP_DADDR, inet->inet_daddr)) in l2tp_nl_tunnel_send_addr4()
|
/openbmc/linux/net/ipv6/ |
H A D | sit.c | 1698 nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || in ipip6_fill_info() 1699 nla_put_in_addr(skb, IFLA_IPTUN_REMOTE, parm->iph.daddr) || in ipip6_fill_info() 1712 nla_put_in_addr(skb, IFLA_IPTUN_6RD_RELAY_PREFIX, in ipip6_fill_info()
|
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 194 if (nla_put_in_addr(skb, MDBA_MDB_SRCATTR_ADDRESS, in __mdb_fill_srcs() 280 if (nla_put_in_addr(skb, MDBA_MDB_EATTR_SOURCE, in __mdb_fill_info()
|
/openbmc/linux/net/openvswitch/ |
H A D | conntrack.c | 1442 if (nla_put_in_addr(skb, OVS_NAT_ATTR_IP_MIN, in ovs_ct_nat_to_attr() 1446 (nla_put_in_addr(skb, OVS_NAT_ATTR_IP_MAX, in ovs_ct_nat_to_attr()
|
/openbmc/linux/include/net/ |
H A D | netlink.h | 1558 static inline int nla_put_in_addr(struct sk_buff *skb, int attrtype, in nla_put_in_addr() function
|