/linux-6.1.9/include/linux/ |
D | dccp.h | 66 static inline struct dccp_hdr *dccp_hdr(const struct sk_buff *skb) in dccp_hdr() function 68 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr() 71 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) in dccp_zeroed_hdr() 78 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx() 83 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len() 90 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len() 94 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq() 136 static inline unsigned int __dccp_hdr_len(const struct dccp_hdr *dh) in __dccp_hdr_len() 144 return __dccp_hdr_len(dccp_hdr(skb)); in dccp_hdr_len()
|
/linux-6.1.9/net/dccp/ |
D | minisocks.c | 158 if (dccp_hdr(skb)->dccph_type == DCCP_PKT_REQUEST) { in dccp_check_req() 176 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_ACK && in dccp_check_req() 177 dccp_hdr(skb)->dccph_type != DCCP_PKT_DATAACK) in dccp_check_req() 204 if (dccp_hdr(skb)->dccph_type != DCCP_PKT_RESET) in dccp_check_req() 228 ret = dccp_rcv_state_process(child, skb, dccp_hdr(skb), in dccp_child_process() 263 inet_rsk(req)->ir_rmt_port = dccp_hdr(skb)->dccph_sport; in dccp_reqsk_init() 264 inet_rsk(req)->ir_num = ntohs(dccp_hdr(skb)->dccph_dport); in dccp_reqsk_init()
|
D | ipv4.c | 248 const struct dccp_hdr *dh; in dccp_v4_err() 262 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_sport) > 8); in dccp_v4_err() 263 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_dport) > 8); in dccp_v4_err() 264 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err() 384 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() 397 dccp_hdr(skb)->dccph_dport, in dccp_v4_init_sequence() 398 dccp_hdr(skb)->dccph_sport); in dccp_v4_init_sequence() 477 .fl4_sport = dccp_hdr(skb)->dccph_dport, in dccp_v4_route_skb() 478 .fl4_dport = dccp_hdr(skb)->dccph_sport, in dccp_v4_route_skb() 505 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response() [all …]
|
D | input.c | 24 __skb_pull(skb, dccp_hdr(skb)->dccph_doff * 4); in dccp_enqueue_skb() 187 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_check_seqno() 284 const struct dccp_hdr *dh, const unsigned int len) in __dccp_rcv_established() 288 switch (dccp_hdr(skb)->dccph_type) { in __dccp_rcv_established() 365 const struct dccp_hdr *dh, const unsigned int len) in dccp_rcv_established() 386 const struct dccp_hdr *dh, in dccp_rcv_request_sent_state_process() 519 const struct dccp_hdr *dh, in dccp_rcv_respond_partopen_state_process() 572 struct dccp_hdr *dh, unsigned int len) in dccp_rcv_state_process()
|
D | ipv6.c | 59 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check() 69 dccp_hdr(skb)->dccph_dport, in dccp_v6_init_sequence() 70 dccp_hdr(skb)->dccph_sport ); in dccp_v6_init_sequence() 78 const struct dccp_hdr *dh; in dccp_v6_err() 90 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_sport) > 8); in dccp_v6_err() 91 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_dport) > 8); in dccp_v6_err() 92 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v6_err() 229 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response() 268 if (dccp_hdr(rxskb)->dccph_type == DCCP_PKT_RESET) in dccp_v6_ctl_send_reset() 281 dccp_hdr(skb)->dccph_checksum = dccp_v6_csum_finish(skb, &rxip6h->saddr, in dccp_v6_ctl_send_reset() [all …]
|
D | dccp.h | 197 const struct dccp_hdr* dh = dccp_hdr(skb); in dccp_csum_coverage() 209 dccp_hdr(skb)->dccph_cscov = 0; in dccp_csum_outgoing() 277 struct dccp_hdr *dh, unsigned int len); 279 const struct dccp_hdr *dh, const unsigned int len); 384 static inline void dccp_hdr_set_seq(struct dccp_hdr *dh, const u64 gss) in dccp_hdr_set_seq()
|
D | output.c | 49 struct dccp_hdr *dh; in dccp_transmit_skb() 170 sizeof(struct dccp_hdr) + sizeof(struct dccp_hdr_ext)); in dccp_sync_mss() 402 struct dccp_hdr *dh; in dccp_make_response() 404 const u32 dccp_header_size = sizeof(struct dccp_hdr) + in dccp_make_response() 464 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; in dccp_ctl_make_reset() 466 const u32 dccp_hdr_reset_len = sizeof(struct dccp_hdr) + in dccp_ctl_make_reset()
|
D | options.c | 52 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_parse_options()
|
D | proto.c | 796 const struct dccp_hdr *dh; in dccp_recvmsg() 814 dh = dccp_hdr(skb); in dccp_recvmsg()
|
/linux-6.1.9/net/netfilter/ |
D | xt_dccp.c | 37 const struct dccp_hdr *dh, in dccp_find_option() 83 match_types(const struct dccp_hdr *dh, u_int16_t typemask) in match_types() 90 const struct dccp_hdr *dh, bool *hotdrop) in match_option() 99 const struct dccp_hdr *dh; in dccp_mt() 100 struct dccp_hdr _dh; in dccp_mt()
|
D | nf_conntrack_proto_dccp.c | 385 const struct dccp_hdr *dh, in dccp_new() 422 static u64 dccp_ack_seq(const struct dccp_hdr *dh) in dccp_ack_seq() 431 static bool dccp_error(const struct dccp_hdr *dh, in dccp_error() 439 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error() 478 struct dccp_hdr _dh, *dh; in nf_conntrack_dccp_packet()
|
D | nf_nat_proto.c | 189 struct dccp_hdr *hdr; in dccp_manip_pkt() 193 if (skb->len >= hdroff + sizeof(struct dccp_hdr)) in dccp_manip_pkt() 194 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt() 199 hdr = (struct dccp_hdr *)(skb->data + hdroff); in dccp_manip_pkt()
|
/linux-6.1.9/net/dccp/ccids/lib/ |
D | packet_history.c | 101 const struct dccp_hdr *dh = dccp_hdr(skb); in tfrc_rx_hist_entry_from_skb() 397 delta_v = SUB16(dccp_hdr(skb)->dccph_ccval, in tfrc_rx_hist_sample_rtt()
|
D | loss_interval.c | 101 if (SUB16(dccp_hdr(skb)->dccph_ccval, cur->li_ccval) > 4) in tfrc_lh_update_i_mean()
|
/linux-6.1.9/security/ |
D | lsm_audit.c | 72 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata() 144 struct dccp_hdr _dccph, *dh; in ipv6_skb_to_auditdata()
|
/linux-6.1.9/net/dccp/ccids/ |
D | ccid3.c | 631 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-6.1.9/include/uapi/linux/ |
D | dccp.h | 21 struct dccp_hdr { struct
|
/linux-6.1.9/net/core/ |
D | flow_dissector.c | 1820 poff += sizeof(struct dccp_hdr); in __skb_get_poff()
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 4290 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv4() 4384 struct dccp_hdr _dccph, *dh; in selinux_parse_skb_ipv6()
|
/linux-6.1.9/security/smack/ |
D | smack_lsm.c | 3810 struct dccp_hdr _dccph, *dh; in smk_skb_to_addr_ipv6()
|