Searched defs:dst (Results 1 - 25 of 197) sorted by relevance

12345678

/net/netfilter/
H A Dxt_realm.c28 const struct dst_entry *dst = skb_dst(skb); local
30 return (info->id == (dst->tclassid & info->mask)) ^ info->invert;
H A Dxt_nat.c29 static void xt_nat_convert_range(struct nf_nat_range *dst, argument
32 memset(&dst->min_addr, 0, sizeof(dst->min_addr));
33 memset(&dst->max_addr, 0, sizeof(dst->max_addr));
35 dst->flags = src->flags;
36 dst->min_addr.ip = src->min_ip;
37 dst->max_addr.ip = src->max_ip;
38 dst->min_proto = src->min;
39 dst
[all...]
/net/sunrpc/
H A Dsunrpc.h48 struct dst_entry *dst; local
51 dst = rcu_dereference(sk->sk_dst_cache);
52 if (dst && dst->dev &&
53 (dst->dev->features & NETIF_F_LOOPBACK))
/net/bluetooth/
H A Dlib.c33 void baswap(bdaddr_t *dst, bdaddr_t *src) argument
35 unsigned char *d = (unsigned char *) dst;
/net/bridge/netfilter/
H A Debt_ip.c24 __be16 dst; member in struct:tcpudphdr
63 u32 dst = ntohs(pptr->dst); local
64 if (FWINV(dst < info->dport[0] ||
65 dst > info->dport[1],
H A Debt_mark.c61 static void mark_tg_compat_from_user(void *dst, const void *src) argument
64 struct ebt_mark_t_info *kern = dst;
70 static int mark_tg_compat_to_user(void __user *dst, const void *src) argument
72 struct compat_ebt_mark_t_info __user *user = dst;
H A Debt_mark_m.c45 static void mark_mt_compat_from_user(void *dst, const void *src) argument
48 struct ebt_mark_m_info *kern = dst;
56 static int mark_mt_compat_to_user(void __user *dst, const void *src) argument
58 struct compat_ebt_mark_m_info __user *user = dst;
H A Debt_ip6.c28 __be16 dst; member in struct:pkthdr::__anon15
78 u16 dst = ntohs(pptr->tcpudphdr.dst); local
79 if (FWINV(dst < info->dport[0] ||
80 dst > info->dport[1], EBT_IP6_DPORT))
/net/ceph/
H A Darmor.c4 int ceph_armor(char *dst, const char *src, const char *end);
5 int ceph_unarmor(char *dst, const char *src, const char *end);
36 int ceph_armor(char *dst, const char *src, const char *end) argument
45 *dst++ = encode_bits(a >> 2);
48 *dst++ = encode_bits(((a & 3) << 4) | (b >> 4));
51 *dst++ = encode_bits(((b & 15) << 2) |
53 *dst++ = encode_bits(c & 63);
55 *dst++ = encode_bits((b & 15) << 2);
56 *dst++ = '=';
59 *dst
74 ceph_unarmor(char *dst, const char *src, const char *end) argument
[all...]
/net/dsa/
H A Dtag_dsa.c68 skb->dev = p->parent->dst->master_netdev;
81 struct dsa_switch_tree *dst = dev->dsa_ptr; local
87 if (unlikely(dst == NULL))
118 if (source_device >= dst->pd->nr_chips)
120 ds = dst->ds[source_device];
H A Dtag_trailer.c62 nskb->dev = p->parent->dst->master_netdev;
71 struct dsa_switch_tree *dst = dev->dsa_ptr; local
76 if (unlikely(dst == NULL))
78 ds = dst->ds[0];
H A Dtag_edsa.c81 skb->dev = p->parent->dst->master_netdev;
94 struct dsa_switch_tree *dst = dev->dsa_ptr; local
100 if (unlikely(dst == NULL))
131 if (source_device >= dst->pd->nr_chips)
133 ds = dst->ds[source_device];
/net/ieee802154/
H A Dreassembly.h10 const struct ieee802154_addr *dst; member in struct:lowpan_create_arg
/net/ipv4/
H A Ddatagram.c82 sk_dst_set(sk, &rt->dst);
99 struct dst_entry *dst; local
105 dst = __sk_dst_get(sk);
106 if (!dst || !dst->obsolete || dst->ops->check(dst, 0)) {
118 dst = !IS_ERR(rt) ? &rt->dst : NULL;
119 sk_dst_set(sk, dst);
[all...]
H A Dxfrm4_mode_tunnel.c13 #include <net/dst.h>
32 struct dst_entry *dst = skb_dst(skb); local
62 top_iph->ttl = ip4_dst_hoplimit(dst->child);
H A Dudp_tunnel.c79 struct sk_buff *skb, __be32 src, __be32 dst,
93 udp_set_csum(sock->sk->sk_no_check_tx, skb, src, dst, skb->len);
95 return iptunnel_xmit(sock->sk, rt, skb, src, dst, IPPROTO_UDP,
78 udp_tunnel_xmit_skb(struct socket *sock, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, bool xnet) argument
/net/ipv6/
H A Dxfrm6_mode_tunnel.c15 #include <net/dst.h>
36 struct dst_entry *dst = skb_dst(skb); local
60 top_iph->hop_limit = ip6_dst_hoplimit(dst->child);
H A Dip6_udp_tunnel.c65 int udp_tunnel6_xmit_skb(struct socket *sock, struct dst_entry *dst, argument
86 skb_dst_set(skb, dst);
H A Dxfrm6_input.c84 xfrm_address_t *dst, *src; local
88 dst = daddr;
93 dst = daddr;
98 dst = (xfrm_address_t *)&in6addr_any;
103 x = xfrm_state_lookup_byaddr(net, skb->mark, dst, src, proto, AF_INET6);
H A Doutput_core.c87 int ip6_dst_hoplimit(struct dst_entry *dst) argument
89 int hoplimit = dst_metric_raw(dst, RTAX_HOPLIMIT);
91 struct net_device *dev = dst->dev;
H A Dxfrm6_output.c18 #include <net/dst.h>
74 struct dst_entry *dst = skb_dst(skb); local
76 mtu = dst_mtu(dst);
81 skb->dev = dst->dev;
136 struct dst_entry *dst = skb_dst(skb); local
137 struct xfrm_state *x = dst->xfrm;
/net/bridge/
H A Dbr_nf_core.c28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, argument
33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, argument
38 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) argument
43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, argument
50 static unsigned int fake_mtu(const struct dst_entry *dst) argument
52 return dst->dev->mtu;
80 atomic_set(&rt->dst.__refcnt, 1);
81 rt->dst.dev = br->dev;
82 rt->dst.path = &rt->dst;
[all...]
H A Dbr_input.c66 struct net_bridge_fdb_entry *dst; local
98 dst = NULL;
119 } else if ((dst = __br_fdb_get(br, dest, vid)) &&
120 dst->is_local) {
127 if (dst) {
128 dst->used = jiffies;
129 br_forward(dst->dst, skb, skb2);
/net/ax25/
H A Dax25_ip.c109 ax25_address *src, *dst; local
115 dst = (ax25_address *)(bp + 1);
121 route = ax25_get_route(dst, NULL);
166 * after kfree_skb(), dst and src which were pointer
201 if ((ourskb = ax25_rt_build_path(skb, src, dst, route->digipeat)) == NULL) {
/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c139 struct dst_entry *dst = NULL; local
159 dst = ip6_route_output(net, NULL, &fl6);
160 if (dst == NULL || dst->error) {
161 dst_release(dst);
164 dst = xfrm_lookup(net, dst, flowi6_to_flowi(&fl6), NULL, 0);
165 if (IS_ERR(dst))
168 hh_len = (dst->dev->hard_header_len + 15)&~15;
169 nskb = alloc_skb(hh_len + 15 + dst
[all...]

Completed in 286 milliseconds

12345678