Home
last modified time | relevance | path

Searched refs:nla_put_in_addr (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_private.h110 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 Dfib_rules.c350 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 Dipip.c516 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 Dip_vti.c612 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 Dtcp_metrics.c648 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 Dip_tunnel_core.c845 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 Dfou_core.c798 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 Dfib_semantics.c1660 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 Dipmr.c2342 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 Ddevinet.c1732 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 Dip_gre.c1512 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 Droute.c2964 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 Dpsample.c236 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 Dnetlabel_mgmt.c319 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 Dnetlabel_unlabeled.c1100 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 Dnft_tunnel.c562 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 Dact_tunnel_key.c697 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 Dact_ct.c1448 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 Dpm_netlink.c1826 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 Dip_set.h408 ret = nla_put_in_addr(skb, IPSET_ATTR_IPADDR_IPV4, ipaddr); in nla_put_ipaddr4()
/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c358 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 Dsit.c1698 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 Dbr_mdb.c194 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 Dconntrack.c1442 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 Dnetlink.h1558 static inline int nla_put_in_addr(struct sk_buff *skb, int attrtype, in nla_put_in_addr() function

12