Searched refs:ip_hdr (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14-stable/stand/libsa/ |
| HD | ip.c | 78 struct ip *ip_hdr; member 368 ipr->ip_hdr = (struct ip *)((uintptr_t)eh + sizeof (*eh)); in readipv4() 369 bcopy(ipq->ipq_hdr, ipr->ip_hdr, sizeof (*ipr->ip_hdr)); in readipv4() 370 ipr->ip_hdr->ip_hl = sizeof (*ipr->ip_hdr) >> 2; in readipv4() 371 ipr->ip_hdr->ip_len = htons(n); in readipv4() 372 ipr->ip_hdr->ip_sum = 0; in readipv4() 373 ipr->ip_hdr->ip_sum = in_cksum(ipr->ip_hdr, sizeof (*ipr->ip_hdr)); in readipv4() 376 ptr = (char *)((uintptr_t)ipr->ip_hdr + sizeof (*ipr->ip_hdr)); in readipv4()
|
| /freebsd-14-stable/sys/netinet/libalias/ |
| HD | alias_sctp.c | 805 DifferentialChecksum(&(msg.ip_hdr->ip_sum), in SctpAlias() 806 &(assoc->l_addr), &(msg.ip_hdr->ip_dst), 2); in SctpAlias() 807 msg.ip_hdr->ip_dst = assoc->l_addr; /* change dst address to local address*/ in SctpAlias() 810 DifferentialChecksum(&(msg.ip_hdr->ip_sum), in SctpAlias() 811 &(assoc->a_addr), &(msg.ip_hdr->ip_src), 2); in SctpAlias() 812 msg.ip_hdr->ip_src = assoc->a_addr; /* change src to alias addr*/ in SctpAlias() 939 if (ntohs(sm->ip_hdr->ip_len) < ip_size) { /* short packet, cannot send error cause */ in TxAbortErrorM() 951 ip->ip_v = sm->ip_hdr->ip_v; in TxAbortErrorM() 955 ip->ip_id = sm->ip_hdr->ip_id; in TxAbortErrorM() 994 ip->ip_src = (direction == SN_TO_LOCAL) ? sm->ip_hdr->ip_src : assoc->a_addr; in TxAbortErrorM() [all …]
|
| HD | alias_sctp.h | 170 struct ip *ip_hdr; /**< pointer to ip packet header */ member
|
| HD | alias_db.c | 2473 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst, in FindSctpRedirectAddress() 2479 redir = FindOriginalAddress(la,sm->ip_hdr->ip_dst); in FindSctpRedirectAddress() 2483 lnk = FindLinkIn(la, sm->ip_hdr->ip_src, sm->ip_hdr->ip_dst, in FindSctpRedirectAddress()
|
| /freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | ip.h | 57 ip_hdr(struct sk_buff *skb) in ip_hdr() function
|
| /freebsd-14-stable/sys/contrib/dev/iwlwifi/mvm/ |
| HD | tx.c | 68 protocol = ip_hdr(skb)->protocol; in iwl_mvm_tx_csum() 113 ip_hdr(skb)->check = 0; in iwl_mvm_tx_csum() 954 u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; in iwl_mvm_tx_tso_segment() 986 ip_hdr(tmp)->id = htons(ip_base_id + i * num_subframes); in iwl_mvm_tx_tso_segment() 997 ip_send_check(ip_hdr(tmp)); in iwl_mvm_tx_tso_segment()
|
| HD | mac80211.c | 6514 u8 protocol = ip_hdr(skb)->protocol; in iwl_mvm_can_hw_csum()
|
| /freebsd-14-stable/sys/contrib/dev/rtw89/ |
| HD | core.c | 962 ip_hdr(skb)->protocol == IPPROTO_UDP) { in rtw89_core_tx_btc_spec_pkt_notify() 973 ip_hdr(skb)->protocol == IPPROTO_ICMP) { in rtw89_core_tx_btc_spec_pkt_notify()
|