Home
last modified time | relevance | path

Searched refs:dccp_hdr (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/include/linux/ !
Ddccp.h20 struct dccp_hdr { struct
294 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr() function
296 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr()
299 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr()
306 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx()
311 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len()
318 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len()
322 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq()
364 static inline unsigned int __dccp_hdr_len(const struct dccp_hdr *dh) in __dccp_hdr_len()
372 return __dccp_hdr_len(dccp_hdr(skb)); in dccp_hdr_len()
/linux-2.6.39/net/dccp/ !
Dipv4.c207 const struct dccp_hdr *dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
359 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check()
373 dccp_hdr(skb)->dccph_dport, in dccp_v4_init_sequence()
374 dccp_hdr(skb)->dccph_sport); in dccp_v4_init_sequence()
437 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_hnd_req()
474 .fl4_sport = dccp_hdr(skb)->dccph_dport, in dccp_v4_route_skb()
475 .fl4_dport = dccp_hdr(skb)->dccph_sport, in dccp_v4_route_skb()
502 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response()
527 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v4_ctl_send_reset()
542 dccp_hdr(skb)->dccph_checksum = dccp_v4_csum_finish(skb, rxiph->saddr, in dccp_v4_ctl_send_reset()
[all …]
Dminisocks.c165 if (dccp_hdr(skb)->dccph_type == DCCP_PKT_REQUEST) { in dccp_check_req()
184 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_ACK && in dccp_check_req()
185 dccp_hdr(skb)->dccph_type != DCCP_PKT_DATAACK) in dccp_check_req()
214 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_RESET) in dccp_check_req()
235 ret = dccp_rcv_state_process(child, skb, dccp_hdr(skb), in dccp_child_process()
269 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; in dccp_reqsk_init()
270 inet_rsk(req)->loc_port = dccp_hdr(skb)->dccph_dport; in dccp_reqsk_init()
Dinput.c28 __skb_pull(skb, dccp_hdr(skb)->dccph_doff * 4); in dccp_enqueue_skb()
191 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_check_seqno()
288 const struct dccp_hdr *dh, const unsigned len) in __dccp_rcv_established()
292 switch (dccp_hdr(skb)->dccph_type) { in __dccp_rcv_established()
369 const struct dccp_hdr *dh, const unsigned len) in dccp_rcv_established()
390 const struct dccp_hdr *dh, in dccp_rcv_request_sent_state_process()
523 const struct dccp_hdr *dh, in dccp_rcv_respond_partopen_state_process()
575 struct dccp_hdr *dh, unsigned len) in dccp_rcv_state_process()
Dipv6.c66 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check()
82 dccp_hdr(skb)->dccph_dport, in dccp_v6_init_sequence()
83 dccp_hdr(skb)->dccph_sport ); in dccp_v6_init_sequence()
91 const struct dccp_hdr *dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v6_err()
273 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response()
306 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset()
317 dccp_hdr(skb)->dccph_checksum = dccp_v6_csum_finish(skb, &rxip6h->saddr, in dccp_v6_ctl_send_reset()
326 fl6.fl6_dport = dccp_hdr(skb)->dccph_dport; in dccp_v6_ctl_send_reset()
327 fl6.fl6_sport = dccp_hdr(skb)->dccph_sport; in dccp_v6_ctl_send_reset()
354 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_hnd_req()
[all …]
Doutput.c50 struct dccp_hdr *dh; in dccp_transmit_skb()
169 sizeof(struct dccp_hdr) + sizeof(struct dccp_hdr_ext)); in dccp_sync_mss()
393 struct dccp_hdr *dh; in dccp_make_response()
395 const u32 dccp_header_size = sizeof(struct dccp_hdr) + in dccp_make_response()
450 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; in dccp_ctl_make_reset()
452 const u32 dccp_hdr_reset_len = sizeof(struct dccp_hdr) + in dccp_ctl_make_reset()
Ddccp.h210 const struct dccp_hdr* dh = dccp_hdr(skb); in dccp_csum_coverage()
222 dccp_hdr(skb)->dccph_cscov = 0; in dccp_csum_outgoing()
290 struct dccp_hdr *dh, unsigned len);
292 const struct dccp_hdr *dh, const unsigned len);
408 static inline void dccp_hdr_set_seq(struct dccp_hdr *dh, const u64 gss) in dccp_hdr_set_seq()
Doptions.c55 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_parse_options()
Dproto.c814 const struct dccp_hdr *dh; in dccp_recvmsg()
832 dh = dccp_hdr(skb); in dccp_recvmsg()
/linux-2.6.39/net/ipv4/netfilter/ !
Dnf_nat_proto_dccp.c42 struct dccp_hdr *hdr; in dccp_manip_pkt()
48 if (skb->len >= hdroff + sizeof(struct dccp_hdr)) in dccp_manip_pkt()
49 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt()
55 hdr = (struct dccp_hdr *)(skb->data + hdroff); in dccp_manip_pkt()
/linux-2.6.39/net/netfilter/ !
Dxt_dccp.c40 const struct dccp_hdr *dh, in dccp_find_option()
86 match_types(const struct dccp_hdr *dh, u_int16_t typemask) in match_types()
93 const struct dccp_hdr *dh, bool *hotdrop) in match_option()
102 const struct dccp_hdr *dh; in dccp_mt()
103 struct dccp_hdr _dh; in dccp_mt()
Dnf_conntrack_proto_dccp.c406 struct dccp_hdr _hdr, *dh; in dccp_pkt_to_tuple()
430 struct dccp_hdr _dh, *dh; in dccp_new()
466 static u64 dccp_ack_seq(const struct dccp_hdr *dh) in dccp_ack_seq()
482 struct dccp_hdr _dh, *dh; in dccp_packet()
573 struct dccp_hdr _dh, *dh; in dccp_error()
584 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error()
/linux-2.6.39/net/dccp/ccids/lib/ !
Dpacket_history.c114 const struct dccp_hdr *dh = dccp_hdr(skb); in tfrc_rx_hist_entry_from_skb()
406 delta_v = SUB16(dccp_hdr(skb)->dccph_ccval, in tfrc_rx_hist_sample_rtt()
Dloss_interval.c102 if (SUB16(dccp_hdr(skb)->dccph_ccval, cur->li_ccval) > 4) in tfrc_lh_update_i_mean()
/linux-2.6.39/security/ !
Dlsm_audit.c81 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata()
158 struct dccp_hdr _dccph, *dh; in ipv6_skb_to_auditdata()
/linux-2.6.39/net/dccp/ccids/ !
Dccid3.c635 hc->rx_last_counter = dccp_hdr(skb)->dccph_ccval; in ccid3_hc_rx_send_feedback()
716 const u32 payload = skb->len - dccp_hdr(skb)->dccph_doff * 4; in ccid3_hc_rx_packet_recv()
733 const u32 payload = skb->len - dccp_hdr(skb)->dccph_doff * 4; in ccid3_hc_rx_packet_recv()
780 if (SUB16(dccp_hdr(skb)->dccph_ccval, hc->rx_last_counter) > 3) in ccid3_hc_rx_packet_recv()
/linux-2.6.39/security/selinux/ !
Dhooks.c3515 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv4()
3591 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv6()