Searched refs:ipoff (Results 1 – 7 of 7) sorted by relevance
/freebsd/sbin/nos-tun/ |
H A D | nos-tun.c | 237 int c, len, ipoff; in main() local 369 ipoff = (ip->ip_hl << 2); in main() 371 write(tun,buf+ipoff,len-ipoff); in main()
|
/freebsd/sbin/ipf/ipmon/ |
H A D | ipmon.c | 1019 int i, f, lvl, res, len, off, plen, ipoff, defaction; in print_ipflog() local 1137 ipoff = ntohs(ip->ip_off); in print_ipflog() 1138 off = ipoff & IP_OFFMASK; in print_ipflog() 1147 ipoff = 0; in print_ipflog() 1246 ipoff = ntohs(ipc->ip_off); in print_ipflog() 1249 if (!(ipoff & IP_OFFMASK) && in print_ipflog() 1264 } else if (!(ipoff & IP_OFFMASK) && in print_ipflog() 1286 if (ipoff & IP_OFFMASK) { in print_ipflog() 1290 (ipoff & IP_OFFMASK) << 3, in print_ipflog() 1291 ipoff & IP_MF ? "+" : "", in print_ipflog() [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 414 int ipoff, iplen; in ipfw_log_syslog() local 415 ipoff = ntohs(ip->ip_off); in ipfw_log_syslog() 417 if (ipoff & (IP_MF | IP_OFFMASK)) in ipfw_log_syslog() 422 (ipoff & IP_MF) ? "+" : ""); in ipfw_log_syslog()
|
/freebsd/sys/x86/linux/ |
H A D | linux_x86_sigframe.h | 106 u_int32_t ipoff; member
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 1153 int dpoff, ipoff; in ipf_pullup() local 1164 ipoff = fin->fin_ipoff; in ipf_pullup() 1232 ip = MTOD(m, ip_t *) + ipoff; in ipf_pullup()
|
/freebsd/sys/dev/neta/ |
H A D | if_mvneta.c | 2793 uint32_t iphl, ipoff; in mvneta_tx_set_csumflag() local 2796 iphl = ipoff = 0; in mvneta_tx_set_csumflag() 2802 ipoff = ETHER_HDR_LEN; in mvneta_tx_set_csumflag() 2805 ipoff = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; in mvneta_tx_set_csumflag() 2808 ipoff += ETHER_VLAN_ENCAP_LEN; in mvneta_tx_set_csumflag() 2815 ip = (struct ip *)(m->m_data + ipoff); in mvneta_tx_set_csumflag() 2841 t->command |= MVNETA_TX_CMD_L3_OFFSET(ipoff); in mvneta_tx_set_csumflag()
|
/freebsd/sys/net/ |
H A D | if_vxlan.c | 2450 vxlan_encap_header(struct vxlan_softc *sc, struct mbuf *m, int ipoff, in vxlan_encap_header() 2458 len = m->m_pkthdr.len - ipoff; in vxlan_encap_header() 2460 hdr = mtodo(m, ipoff); in vxlan_encap_header() 2448 vxlan_encap_header(struct vxlan_softc * sc,struct mbuf * m,int ipoff,uint16_t srcport,uint16_t dstport) vxlan_encap_header() argument
|