Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Ddccp.h20 struct dccp_hdr { struct
295 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr() function
297 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr()
300 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr()
307 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx()
312 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len()
319 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len()
323 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq()
365 static inline unsigned int __dccp_hdr_len(const struct dccp_hdr *dh) in __dccp_hdr_len()
373 return __dccp_hdr_len(dccp_hdr(skb)); in dccp_hdr_len()
/linux-3.4.99/net/dccp/
Dipv4.c214 const struct dccp_hdr *dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
367 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check()
381 dccp_hdr(skb)->dccph_dport, in dccp_v4_init_sequence()
382 dccp_hdr(skb)->dccph_sport); in dccp_v4_init_sequence()
447 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_hnd_req()
485 .fl4_sport = dccp_hdr(skb)->dccph_dport, in dccp_v4_route_skb()
486 .fl4_dport = dccp_hdr(skb)->dccph_sport, in dccp_v4_route_skb()
514 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response()
539 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v4_ctl_send_reset()
554 dccp_hdr(skb)->dccph_checksum = dccp_v4_csum_finish(skb, rxiph->saddr, in dccp_v4_ctl_send_reset()
[all …]
Dminisocks.c167 if (dccp_hdr(skb)->dccph_type == DCCP_PKT_REQUEST) { in dccp_check_req()
186 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_ACK && in dccp_check_req()
187 dccp_hdr(skb)->dccph_type != DCCP_PKT_DATAACK) in dccp_check_req()
218 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_RESET) in dccp_check_req()
239 ret = dccp_rcv_state_process(child, skb, dccp_hdr(skb), in dccp_child_process()
273 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; in dccp_reqsk_init()
274 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.c67 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check()
77 dccp_hdr(skb)->dccph_dport, in dccp_v6_init_sequence()
78 dccp_hdr(skb)->dccph_sport ); in dccp_v6_init_sequence()
86 const struct dccp_hdr *dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v6_err()
269 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response()
302 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset()
313 dccp_hdr(skb)->dccph_checksum = dccp_v6_csum_finish(skb, &rxip6h->saddr, in dccp_v6_ctl_send_reset()
322 fl6.fl6_dport = dccp_hdr(skb)->dccph_dport; in dccp_v6_ctl_send_reset()
323 fl6.fl6_sport = dccp_hdr(skb)->dccph_sport; in dccp_v6_ctl_send_reset()
350 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_hnd_req()
[all …]
Doutput.c52 struct dccp_hdr *dh; in dccp_transmit_skb()
171 sizeof(struct dccp_hdr) + sizeof(struct dccp_hdr_ext)); in dccp_sync_mss()
395 struct dccp_hdr *dh; in dccp_make_response()
397 const u32 dccp_header_size = sizeof(struct dccp_hdr) + in dccp_make_response()
452 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; in dccp_ctl_make_reset()
454 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.c813 const struct dccp_hdr *dh; in dccp_recvmsg()
831 dh = dccp_hdr(skb); in dccp_recvmsg()
/linux-3.4.99/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-3.4.99/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()
487 struct dccp_hdr _dh, *dh; in dccp_packet()
577 struct dccp_hdr _dh, *dh; in dccp_error()
588 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error()
/linux-3.4.99/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-3.4.99/security/
Dlsm_audit.c81 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata()
159 struct dccp_hdr _dccph, *dh; in ipv6_skb_to_auditdata()
/linux-3.4.99/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-3.4.99/security/selinux/
Dhooks.c3596 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv4()
3673 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv6()