Home
last modified time | relevance | path

Searched refs:nla_get_in_addr (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dfib_rules.c258 rule4->src = nla_get_in_addr(tb[FRA_SRC]); in fib4_rule_configure()
261 rule4->dst = nla_get_in_addr(tb[FRA_DST]); in fib4_rule_configure()
329 if (frh->src_len && (rule4->src != nla_get_in_addr(tb[FRA_SRC]))) in fib4_rule_compare()
332 if (frh->dst_len && (rule4->dst != nla_get_in_addr(tb[FRA_DST]))) in fib4_rule_compare()
Dipip.c422 parms->iph.saddr = nla_get_in_addr(data[IFLA_IPTUN_LOCAL]); in ipip_netlink_parms()
425 parms->iph.daddr = nla_get_in_addr(data[IFLA_IPTUN_REMOTE]); in ipip_netlink_parms()
Dip_vti.c553 parms->iph.saddr = nla_get_in_addr(data[IFLA_VTI_LOCAL]); in vti_netlink_parms()
556 parms->iph.daddr = nla_get_in_addr(data[IFLA_VTI_REMOTE]); in vti_netlink_parms()
Ddevinet.c673 ifa->ifa_local != nla_get_in_addr(tb[IFA_LOCAL])) in inet_rtm_deladdr()
681 !inet_ifa_match(nla_get_in_addr(tb[IFA_ADDRESS]), ifa))) in inet_rtm_deladdr()
877 ifa->ifa_local = nla_get_in_addr(tb[IFA_LOCAL]); in rtm_to_ifaddr()
878 ifa->ifa_address = nla_get_in_addr(tb[IFA_ADDRESS]); in rtm_to_ifaddr()
881 ifa->ifa_broadcast = nla_get_in_addr(tb[IFA_BROADCAST]); in rtm_to_ifaddr()
Dip_tunnel_core.c705 tun_info->key.u.ipv4.dst = nla_get_in_addr(tb[LWTUNNEL_IP_DST]); in ip_tun_build_state()
708 tun_info->key.u.ipv4.src = nla_get_in_addr(tb[LWTUNNEL_IP_SRC]); in ip_tun_build_state()
Dfou.c716 cfg->udp_config.local_ip.s_addr = nla_get_in_addr(attr); in parse_nl_config()
722 cfg->udp_config.peer_ip.s_addr = nla_get_in_addr(attr); in parse_nl_config()
Dip_gre.c1154 parms->iph.saddr = nla_get_in_addr(data[IFLA_GRE_LOCAL]); in ipgre_netlink_parms()
1157 parms->iph.daddr = nla_get_in_addr(data[IFLA_GRE_REMOTE]); in ipgre_netlink_parms()
Dtcp_metrics.c784 inetpeer_set_addr_v4(addr, nla_get_in_addr(a)); in __parse_nl_addr()
Dipmr.c2531 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in ipmr_rtm_getroute()
2532 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute()
Droute.c3203 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in inet_rtm_getroute()
3204 dst = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in inet_rtm_getroute()
Dfib_semantics.c681 *gw = nla_get_in_addr(nla); in fib_gw_from_attr()
/kernel/linux/linux-5.10/net/sched/
Dact_tunnel_key.c446 saddr = nla_get_in_addr(tb[TCA_TUNNEL_KEY_ENC_IPV4_SRC]); in tunnel_key_init()
447 daddr = nla_get_in_addr(tb[TCA_TUNNEL_KEY_ENC_IPV4_DST]); in tunnel_key_init()
Dact_ct.c1107 nla_get_in_addr(tb[TCA_CT_NAT_IPV4_MIN]); in tcf_ct_fill_params_nat()
1110 nla_get_in_addr(max_attr) : in tcf_ct_fill_params_nat()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_netlink.c177 cfg->local_ip.s_addr = nla_get_in_addr(attrs[L2TP_ATTR_IP_SADDR]); in l2tp_nl_cmd_tunnel_create_get_addr()
178 cfg->peer_ip.s_addr = nla_get_in_addr(attrs[L2TP_ATTR_IP_DADDR]); in l2tp_nl_cmd_tunnel_create_get_addr()
/kernel/linux/linux-5.10/net/bridge/
Dbr_mdb.c81 ip->src.ip4 = nla_get_in_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip()
722 if (ipv4_is_multicast(nla_get_in_addr(attr))) { in is_valid_mdb_source()
/kernel/linux/linux-5.10/include/net/
Dnetlink.h1712 static inline __be32 nla_get_in_addr(const struct nlattr *nla) in nla_get_in_addr() function
/kernel/linux/linux-5.10/net/mptcp/
Dpm_netlink.c671 entry->addr.addr.s_addr = nla_get_in_addr(tb[addr_addr]); in mptcp_pm_parse_addr()
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c117 ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); in vxlan_nla_get_addr()
147 ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); in vxlan_nla_get_addr()
4000 conf->remote_ip.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_GROUP]); in vxlan_nl2conf()
4023 conf->saddr.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_LOCAL]); in vxlan_nl2conf()
Dgeneve.c1427 nla_get_in_addr(data[IFLA_GENEVE_REMOTE]); in geneve_nl2info()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_netlink.c1223 t->src.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_SRC]); in ipv4_nlattr_to_tuple()
1230 t->dst.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_DST]); in ipv4_nlattr_to_tuple()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow_netlink.c691 nla_get_in_addr(a), is_mask); in ip_tun_from_nlattr()
696 nla_get_in_addr(a), is_mask); in ip_tun_from_nlattr()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_ctl.c3573 c.mcast_group.ip = nla_get_in_addr(a); in ip_vs_genl_new_daemon()
/kernel/linux/linux-5.10/net/wireless/
Dnl80211.c12073 cfg->src = nla_get_in_addr(tb[NL80211_WOWLAN_TCP_SRC_IPV4]); in nl80211_parse_wowlan_tcp()
12074 cfg->dst = nla_get_in_addr(tb[NL80211_WOWLAN_TCP_DST_IPV4]); in nl80211_parse_wowlan_tcp()