Searched refs:rxskb (Results 1 – 2 of 2) sorted by relevance
524 static void dccp_v4_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v4_ctl_send_reset() argument530 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v4_ctl_send_reset()535 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v4_ctl_send_reset()538 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()543 dst = dccp_v4_route_skb(net, ctl_sk, rxskb); in dccp_v4_ctl_send_reset()547 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v4_ctl_send_reset()551 rxiph = ip_hdr(rxskb); in dccp_v4_ctl_send_reset()
259 static void dccp_v6_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) in dccp_v6_ctl_send_reset() argument264 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v6_ctl_send_reset()269 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset()272 if (!ipv6_unicast_destination(rxskb)) in dccp_v6_ctl_send_reset()277 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v6_ctl_send_reset()281 rxip6h = ipv6_hdr(rxskb); in dccp_v6_ctl_send_reset()290 fl6.flowi6_oif = inet6_iif(rxskb); in dccp_v6_ctl_send_reset()293 security_skb_classify_flow(rxskb, flowi6_to_flowi_common(&fl6)); in dccp_v6_ctl_send_reset()