Searched refs:dst (Results 201 - 225 of 318) sorted by relevance

1234567891011>>

/net/dccp/
H A Doutput.c393 struct sk_buff *dccp_make_response(struct sock *sk, struct dst_entry *dst, argument
409 skb_dst_set(skb, dst_clone(dst));
534 struct dst_entry *dst = __sk_dst_get(sk); local
540 dccp_sync_mss(sk, dst_mtu(dst));
/net/decnet/
H A Ddn_nsp_in.c73 #include <net/dst.h>
86 net_info_ratelimited("DECnet: Martian packet (%s) dev=%s src=0x%04hx dst=0x%04hx srcport=0x%04hx dstport=0x%04hx\n",
89 le16_to_cpu(cb->dst),
775 * Swap src & dst and look up in the normal way.
781 tmp = cb->dst;
782 cb->dst = cb->src;
H A Daf_decnet.c133 #include <net/dst.h>
910 struct dst_entry *dst; local
957 dst = __sk_dst_get(sk);
958 sk->sk_route_caps = dst->dev->features;
961 scp->segsize_loc = dst_metric_advmss(dst);
1079 struct dst_entry *dst; local
1107 dst = skb_dst(skb);
1108 sk_dst_set(newsk, dst);
1136 *(__le16 *)(DN_SK(newsk)->addr.sdn_add.a_addr) = cb->dst;
1872 struct dst_entry *dst local
[all...]
/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c378 e->ip.dst.s_addr == 0) {
385 config = clusterip_config_find_get(par->net, e->ip.dst.s_addr, 1);
389 &e->ip.dst.s_addr);
407 e->ip.dst.s_addr, dev);
492 pr_debug("src %pI4@%s, dst %pI4\n",
H A Dnf_reject_ipv4.c13 #include <net/dst.h>
122 /* ip_route_me_harder expects skb->dst to be set */
/net/ipv4/
H A Dtcp_minisocks.c366 struct sock *sk, struct dst_entry *dst)
371 int mss = dst_metric_advmss(dst);
377 req->window_clamp = tp->window_clamp ? : dst_metric(dst, RTAX_WINDOW);
391 dst_metric(dst, RTAX_INITRWND));
365 tcp_openreq_init_rwin(struct request_sock *req, struct sock *sk, struct dst_entry *dst) argument
H A Dxfrm4_mode_beet.c16 #include <net/dst.h>
H A Dip_input.c360 IP_UPD_PO_STATS_BH(dev_net(rt->dst.dev), IPSTATS_MIB_INMCAST,
363 IP_UPD_PO_STATS_BH(dev_net(rt->dst.dev), IPSTATS_MIB_INBCAST,
H A Darp.c428 if (rt->dst.dev != dev) {
441 * It is very UGLY routine: it DOES NOT use skb->dst->neighbour,
473 pr_debug("arp_find is called with dst==NULL\n");
510 if (rt->dst.dev == dev)
523 out_dev = __in_dev_get_rcu(rt->dst.dev);
554 if (rt->dst.dev != dev)
871 (rt->dst.dev != dev &&
1049 dev = rt->dst.dev;
1168 dev = rt->dst.dev;
H A Dtcp_input.c72 #include <net/dst.h>
803 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) argument
805 __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0);
3518 struct dst_entry *dst = __sk_dst_get(sk); local
3519 if (dst)
3520 dst_confirm(dst);
3872 const struct dst_entry *dst; local
3884 dst = __sk_dst_get(sk);
3885 if (!dst || !dst_metri
5728 struct dst_entry *dst; local
5907 struct dst_entry *dst = NULL; local
[all...]
/net/ipv6/
H A Danycast.c82 dev = rt->dst.dev;
215 dst_release(&ac->aca_rt->dst);
330 dst_hold(&aca->aca_rt->dst);
358 dst_hold(&aca->aca_rt->dst);
H A Dxfrm6_mode_beet.c17 #include <net/dst.h>
H A Dexthdrs.c35 #include <net/dst.h>
256 struct dst_entry *dst = skb_dst(skb); local
261 IP6_INC_STATS_BH(dev_net(dst->dev), ip6_dst_idev(dst),
283 IP6_INC_STATS_BH(dev_net(dst->dev),
284 ip6_dst_idev(dst), IPSTATS_MIB_INHDRERRORS);
H A Dreassembly.c111 ipv6_addr_equal(&fq->daddr, arg->dst);
123 fq->daddr = *arg->dst;
183 const struct in6_addr *dst, u8 ecn)
192 arg.dst = dst;
195 hash = inet6_hash_frag(id, src, dst);
182 fq_find(struct net *net, __be32 id, const struct in6_addr *src, const struct in6_addr *dst, u8 ecn) argument
H A Daddrconf.c1218 struct ipv6_saddr_dst *dst,
1244 ret = ipv6_addr_equal(&score->ifa->addr, dst->addr);
1269 if (ret >= dst->scope)
1290 int prefhome = !(dst->prefs & IPV6_PREFER_SRC_COA);
1297 ret = (!dst->ifindex ||
1298 dst->ifindex == score->ifa->idev->dev->ifindex);
1304 score->ifa->idev->dev->ifindex) == dst->label;
1311 int preftmp = dst->prefs & (IPV6_PREFER_SRC_PUBLIC|IPV6_PREFER_SRC_TMP) ?
1312 !!(dst->prefs & IPV6_PREFER_SRC_TMP) :
1322 ipv6_addr_orchid(dst
1216 ipv6_get_saddr_eval(struct net *net, struct ipv6_saddr_score *score, struct ipv6_saddr_dst *dst, int i) argument
1350 __ipv6_dev_get_saddr(struct net *net, struct ipv6_saddr_dst *dst, struct inet6_dev *idev, struct ipv6_saddr_score *scores, int hiscore_idx) argument
1434 struct ipv6_saddr_dst dst; local
[all...]
H A Dmcast.c169 dev = rt->dst.dev;
262 dev = rt->dst.dev;
1617 struct dst_entry *dst; local
1636 dst = icmp6_dst_alloc(skb->dev, &fl6);
1639 if (IS_ERR(dst)) {
1640 err = PTR_ERR(dst);
1641 dst = NULL;
1643 skb_dst_set(skb, dst);
1949 struct dst_entry *dst; local
2005 dst
[all...]
/net/ipv6/netfilter/
H A Dip6t_rpfilter.c57 if (rt->dst.error)
H A Dnf_conntrack_reasm.c193 struct in6_addr *dst, u8 ecn)
202 arg.dst = dst;
206 hash = nf_hash_frag(id, src, dst);
191 fq_find(struct net *net, __be32 id, u32 user, struct in6_addr *src, struct in6_addr *dst, u8 ecn) argument
/net/netfilter/
H A Dnf_conntrack_ftp.c112 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) argument
115 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end);
497 daddr = &ct->tuplehash[!dir].tuple.dst.u3;
618 ftp[i][j].tuple.dst.protonum = IPPROTO_TCP;
H A Dnft_ct.c132 memcpy(dest->data, tuple->dst.u3.all,
142 dest->data[0] = (__force __u16)tuple->dst.u.all;
/net/sched/
H A Dcls_api.c544 void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst, argument
550 list_splice_init(&dst->actions, &tmp);
551 list_splice(&src->actions, &dst->actions);
552 dst->type = src->type;
/net/batman-adv/
H A Drouting.c225 ether_addr_copy(icmph->dst, icmph->orig);
260 icmp_packet->orig, icmp_packet->dst);
279 ether_addr_copy(icmp_packet->dst, icmp_packet->orig);
349 if (batadv_is_my_mac(bat_priv, icmph->dst))
357 orig_node = batadv_orig_hash_find(bat_priv, icmph->dst);
711 "Rerouting unicast packet to %pM (dst=%pM): Local Roaming\n",
756 "Rerouting unicast packet to %pM (dst=%pM): TTVN mismatch old_ttvn=%u new_ttvn=%u\n",
915 unicast_tvlv_packet->dst,
/net/bluetooth/
H A Dhci_event.c1818 mgmt_disconnect_failed(hdev, &conn->dst, conn->type,
2089 mgmt_connect_failed(hdev, &conn->dst, conn->type,
2241 mgmt_disconnect_failed(hdev, &conn->dst, conn->type,
2249 mgmt_device_disconnected(hdev, &conn->dst, conn->type, conn->dst_type,
2254 hci_remove_link_key(hdev, &conn->dst);
2259 params = hci_conn_params_lookup(hdev, &conn->dst, conn->dst_type);
2535 bacpy(&cp.bdaddr, &conn->dst);
2539 mgmt_device_connected(hdev, &conn->dst, conn->type,
3277 ie = hci_inquiry_cache_lookup(hdev, &conn->dst);
3405 ie = hci_inquiry_cache_lookup(hdev, &conn->dst);
[all...]
/net/bridge/netfilter/
H A Debtables.c56 static void ebt_standard_compat_from_user(void *dst, const void *src) argument
62 memcpy(dst, &v, sizeof(v));
65 static int ebt_standard_compat_to_user(void __user *dst, const void *src) argument
71 return copy_to_user(dst, &cv, sizeof(cv)) ? -EFAULT : 0;
1905 void *dst = NULL; local
1912 dst = state->buf_kern_start + state->buf_kern_offset;
1921 if (dst) {
1923 match->compat_from_user(dst, mwt->data);
1925 memcpy(dst, mwt->data, match_size);
1940 if (dst) {
[all...]
/net/atm/
H A Dclip.c328 struct dst_entry *dst = skb_dst(skb); local
338 if (!dst) {
344 rt = (struct rtable *) dst;
349 n = dst_neigh_lookup(dst, daddr);
466 neigh = __neigh_lookup(&arp_tbl, &ip, rt->dst.dev, 1);

Completed in 2204 milliseconds

1234567891011>>