Home
last modified time | relevance | path

Searched refs:rxskb (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/dccp/
Dipv4.c508 static void dccp_v4_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v4_ctl_send_reset() argument
514 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v4_ctl_send_reset()
518 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v4_ctl_send_reset()
521 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
524 dst = dccp_v4_route_skb(net, ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
528 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
532 rxiph = ip_hdr(rxskb); in dccp_v4_ctl_send_reset()
Dipv6.c251 static void dccp_v6_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v6_ctl_send_reset() argument
256 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v6_ctl_send_reset()
260 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset()
263 if (!ipv6_unicast_destination(rxskb)) in dccp_v6_ctl_send_reset()
266 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v6_ctl_send_reset()
270 rxip6h = ipv6_hdr(rxskb); in dccp_v6_ctl_send_reset()
279 fl6.flowi6_oif = inet6_iif(rxskb); in dccp_v6_ctl_send_reset()
282 security_skb_classify_flow(rxskb, flowi6_to_flowi(&fl6)); in dccp_v6_ctl_send_reset()