Home
last modified time | relevance | path

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

/Linux-v6.1/net/dccp/
Dipv4.c523 static void dccp_v4_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v4_ctl_send_reset() argument
529 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v4_ctl_send_reset()
534 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v4_ctl_send_reset()
537 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
542 dst = dccp_v4_route_skb(net, ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
546 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
550 rxiph = ip_hdr(rxskb); in dccp_v4_ctl_send_reset()
Dipv6.c258 static void dccp_v6_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v6_ctl_send_reset() argument
263 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v6_ctl_send_reset()
268 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset()
271 if (!ipv6_unicast_destination(rxskb)) in dccp_v6_ctl_send_reset()
276 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v6_ctl_send_reset()
280 rxip6h = ipv6_hdr(rxskb); in dccp_v6_ctl_send_reset()
289 fl6.flowi6_oif = inet6_iif(rxskb); in dccp_v6_ctl_send_reset()
292 security_skb_classify_flow(rxskb, flowi6_to_flowi_common(&fl6)); in dccp_v6_ctl_send_reset()