Home
last modified time | relevance | path

Searched refs:thdr (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/net/core/
H A Dselftests.c59 struct tcphdr *thdr = NULL; in net_test_get_skb() local
89 thdr = skb_put(skb, sizeof(*thdr)); in net_test_get_skb()
103 thdr->source = htons(attr->sport); in net_test_get_skb()
104 thdr->dest = htons(attr->dport); in net_test_get_skb()
105 thdr->doff = sizeof(struct tcphdr) / 4; in net_test_get_skb()
106 thdr->check = 0; in net_test_get_skb()
126 iplen += sizeof(*thdr); in net_test_get_skb()
155 thdr->check = ~tcp_v4_check(skb->len, ihdr->saddr, in net_test_get_skb()
181 struct tcphdr *thdr; in net_test_loopback_validate() local
212 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in net_test_loopback_validate()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-fadump.c421 struct hdat_fadump_thread_hdr *thdr; in opal_fadump_build_cpu_notes() local
448 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes()
450 be32_to_cpu(thdr->offset)); in opal_fadump_build_cpu_notes()
451 reg_esize = be32_to_cpu(thdr->esize); in opal_fadump_build_cpu_notes()
452 regs_cnt = be32_to_cpu(thdr->ecnt); in opal_fadump_build_cpu_notes()
460 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opal_fadump_build_cpu_notes()
462 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
464 i, thread_pir, thdr->core_state); in opal_fadump_build_cpu_notes()
488 if (thdr->core_state == HDAT_FADUMP_CORE_INACTIVE) in opal_fadump_build_cpu_notes()
H A Dopal-core.c224 struct hdat_fadump_thread_hdr *thdr; in opalcore_append_cpu_notes() local
239 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
241 be32_to_cpu(thdr->offset)); in opalcore_append_cpu_notes()
242 reg_esize = be32_to_cpu(thdr->esize); in opalcore_append_cpu_notes()
243 regs_cnt = be32_to_cpu(thdr->ecnt); in opalcore_append_cpu_notes()
259 thdr = (struct hdat_fadump_thread_hdr *)bufp; in opalcore_append_cpu_notes()
260 thread_pir = be32_to_cpu(thdr->pir); in opalcore_append_cpu_notes()
263 i, thread_pir, thdr->core_state); in opalcore_append_cpu_notes()
271 if (thdr->core_state == HDAT_FADUMP_CORE_INACTIVE) in opalcore_append_cpu_notes()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcpbpf_kern.c47 struct tcphdr *thdr; in bpf_testcb() local
123 thdr = (struct tcphdr *)(header + offset); in bpf_testcb()
124 v = thdr->syn; in bpf_testcb()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c64 struct tcphdr *thdr = NULL; in stmmac_test_get_udp_skb() local
106 thdr = skb_put(skb, sizeof(*thdr)); in stmmac_test_get_udp_skb()
150 thdr->source = htons(attr->sport); in stmmac_test_get_udp_skb()
151 thdr->dest = htons(attr->dport); in stmmac_test_get_udp_skb()
152 thdr->doff = sizeof(struct tcphdr) / 4; in stmmac_test_get_udp_skb()
153 thdr->check = 0; in stmmac_test_get_udp_skb()
173 iplen += sizeof(*thdr); in stmmac_test_get_udp_skb()
202 thdr->check = ~tcp_v4_check(skb->len, ihdr->saddr, ihdr->daddr, 0); in stmmac_test_get_udp_skb()
257 struct tcphdr *thdr; in stmmac_test_loopback_validate() local
290 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in stmmac_test_loopback_validate()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_log_cil.c967 struct xfs_trans_header thdr; member
1011 hdr->thdr.th_magic = XFS_TRANS_HEADER_MAGIC; in xlog_cil_build_trans_hdr()
1012 hdr->thdr.th_type = XFS_TRANS_CHECKPOINT; in xlog_cil_build_trans_hdr()
1013 hdr->thdr.th_tid = tic->t_tid; in xlog_cil_build_trans_hdr()
1014 hdr->thdr.th_num_items = num_iovecs; in xlog_cil_build_trans_hdr()
1132 struct xlog_cil_trans_hdr thdr; in xlog_cil_push_work() local
1254 xlog_cil_build_trans_hdr(ctx, &thdr, &lvhdr, num_iovecs); in xlog_cil_push_work()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_sip.c733 const struct sip_header *hdrs, *hdr, *thdr; in ct_sip_get_sdp_header() local
739 thdr = &hdrs[term]; in ct_sip_get_sdp_header()
753 limit - dptr >= thdr->len && in ct_sip_get_sdp_header()
754 strncasecmp(dptr, thdr->name, thdr->len) == 0) in ct_sip_get_sdp_header()
/openbmc/linux/fs/smb/client/
H A Dsmb2misc.c155 struct smb2_transform_hdr *thdr = in smb2_check_message() local
163 if (iter->Suid == le64_to_cpu(thdr->SessionId)) { in smb2_check_message()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c1479 struct tls_hdr *thdr = (struct tls_hdr *)skb->data; in chtls_pt_recvmsg() local
1483 sizeof(thdr->type), &thdr->type); in chtls_pt_recvmsg()
1485 if (cerr && thdr->type != TLS_RECORD_TYPE_DATA) { in chtls_pt_recvmsg()
/openbmc/linux/net/ipv6/
H A Dicmp.c277 struct icmp6hdr *thdr, int len) in icmpv6_push_pending_frames() argument
287 memcpy(icmp6h, thdr, sizeof(struct icmp6hdr)); in icmpv6_push_pending_frames()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c1324 struct xfs_da3_icnode_hdr thdr; in xfs_da3_node_toosmall() local
1337 xfs_da3_node_hdr_from_disk(dp->i_mount, &thdr, node); in xfs_da3_node_toosmall()
1340 if (count - thdr.count >= 0) in xfs_da3_node_toosmall()
/openbmc/linux/include/net/
H A Dipv6.h443 struct icmp6hdr *thdr, int len);
/openbmc/linux/arch/s390/tools/
H A Dopcodes.txt373 b359 thdr RRE_FF