• Home
  • Raw
  • Download

Lines Matching refs:saddr

1225 	union vxlan_addr saddr;  in vxlan_set_mac()  local
1237 saddr.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; in vxlan_set_mac()
1238 saddr.sa.sa_family = AF_INET; in vxlan_set_mac()
1241 saddr.sin6.sin6_addr = ipv6_hdr(skb)->saddr; in vxlan_set_mac()
1242 saddr.sa.sa_family = AF_INET6; in vxlan_set_mac()
1247 vxlan_snoop(skb->dev, &saddr, eth_hdr(skb)->h_source)) in vxlan_set_mac()
1268 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate()
1272 &((struct ipv6hdr *)oiph)->saddr); in vxlan_ecn_decapsulate()
1537 pip6->daddr = ipv6_hdr(request)->saddr; in vxlan_na_create()
1538 pip6->saddr = *(struct in6_addr *)n->primary_key; in vxlan_na_create()
1556 na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, in vxlan_na_create()
1574 const struct in6_addr *saddr, *daddr; in neigh_reduce() local
1583 saddr = &iphdr->saddr; in neigh_reduce()
1827 __be32 daddr, __be32 *saddr, in vxlan_get_route() argument
1838 rt = dst_cache_get_ip4(dst_cache, saddr); in vxlan_get_route()
1849 fl4.saddr = *saddr; in vxlan_get_route()
1853 *saddr = fl4.saddr; in vxlan_get_route()
1855 dst_cache_set_ip4(dst_cache, &rt->dst, fl4.saddr); in vxlan_get_route()
1865 struct in6_addr *saddr, in vxlan6_get_route() argument
1881 ndst = dst_cache_get_ip6(dst_cache, saddr); in vxlan6_get_route()
1889 fl6.saddr = *saddr; in vxlan6_get_route()
1900 *saddr = fl6.saddr; in vxlan6_get_route()
1902 dst_cache_set_ip6(dst_cache, ndst, saddr); in vxlan6_get_route()
1981 local_ip = vxlan->cfg.saddr; in vxlan_xmit_one()
2629 [IFLA_VXLAN_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) },
2879 vxlan->cfg.saddr.sa.sa_family == AF_INET6) { in vxlan_dev_configure()
2951 tmp->cfg.saddr.sa.sa_family == AF_INET6) == use_ipv6 && in vxlan_dev_configure()
3008 conf.saddr.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_LOCAL]); in vxlan_newlink()
3009 conf.saddr.sa.sa_family = AF_INET; in vxlan_newlink()
3015 conf.saddr.sin6.sin6_addr = nla_get_in6_addr(data[IFLA_VXLAN_LOCAL6]); in vxlan_newlink()
3016 conf.saddr.sa.sa_family = AF_INET6; in vxlan_newlink()
3168 if (!vxlan_addr_any(&vxlan->cfg.saddr)) { in vxlan_fill_info()
3169 if (vxlan->cfg.saddr.sa.sa_family == AF_INET) { in vxlan_fill_info()
3171 vxlan->cfg.saddr.sin.sin_addr.s_addr)) in vxlan_fill_info()
3176 &vxlan->cfg.saddr.sin6.sin6_addr)) in vxlan_fill_info()