/freebsd-11-stable/sys/netinet/tcp_stacks/ |
H A D | fastpath.c | 90 #include <netinet/ip.h> 174 * The size of tcp_saveipgen must be the size of the max ip header, 344 * The size of tcp_saveipgen must be the size of the max ip header, 452 * The size of tcp_saveipgen must be the size of the max ip header, 1952 * The size of tcp_saveipgen must be the size of the max ip header,
|
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_reass.c | 65 #include <netinet/ip.h>
|
H A D | siftr.c | 94 #include <netinet/ip.h> 703 siftr_findinpcb(int ipver, struct ip *ip, struct mbuf *m, uint16_t sport, argument 713 in_pcblookup(&V_tcbinfo, ip->ip_src, sport, ip->ip_dst, 718 &((struct ip6_hdr *)ip)->ip6_src, sport, 719 &((struct ip6_hdr *)ip)->ip6_dst, dport, INPLOOKUP_RLOCKPCB, 728 in_pcblookup(&V_tcbinfo, ip->ip_dst, dport, ip->ip_src, 733 &((struct ip6_hdr *)ip) 832 struct ip *ip; local [all...] |
H A D | sctp_header.h | 563 sizeof(struct ip)) 567 sizeof(struct ip)) 570 #define SCTP_MIN_OVERHEAD (sizeof(struct ip) + \ 578 sizeof(struct ip)) 580 #define SCTP_MIN_V4_OVERHEAD (sizeof(struct ip) + \
|
H A D | raw_ip.c | 71 #include <netinet/ip.h> 123 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, 230 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n, argument 249 if (last->inp_ip_minttl && last->inp_ip_minttl > ip->ip_ttl) 258 ip_savecontrol(last, &opts, ip, n); 283 struct ip *ip = mtod(m, struct ip *); local 293 ripsrc.sin_addr = ip 435 struct ip *ip; local [all...] |
H A D | ip_var.h | 39 * Overlay for ip header used by other protocols (tcp, udp). 62 struct mbuf *ipq_frags; /* to ip headers of fragments */ 71 * and passed to ip_output when ip options are in use. 105 uint64_t ips_badhlen; /* ip header length < data size */ 106 uint64_t ips_badlen; /* ip length < ip header length */ 116 uint64_t ips_localout; /* total ip packets generated here */ 124 uint64_t ips_badvers; /* ip version != 4 */ 125 uint64_t ips_rawout; /* total raw ip packets generated */ 126 uint64_t ips_toolong; /* ip lengt [all...] |
H A D | ip_reass.c | 55 #include <netinet/ip.h> 180 struct ip *ip; local 206 ip = mtod(m, struct ip *); 207 hlen = ip->ip_hl << 2; 213 ip->ip_len = htons(ntohs(ip->ip_len) - hlen); 219 if (ip->ip_len == htons(0) || 220 ((ip [all...] |
H A D | ip_output.c | 75 #include <netinet/ip.h> 111 struct ip *ip; local 114 ip = mtod(m, struct ip *); 117 odst.s_addr = ip->ip_dst.s_addr; 123 ip = mtod(m, struct ip *); 126 if (odst.s_addr != ip->ip_dst.s_addr) { 129 if (in_localip(ip 212 struct ip *ip; local 733 ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu, u_long if_hwassist_flags) argument 908 struct ip *ip; local 1365 struct ip *ip; local [all...] |
H A D | ip_icmp.c | 60 #include <netinet/ip.h> 189 * in response to bad packet ip. 194 struct ip *oip, *nip; 217 if (n->m_len < sizeof(struct ip) + ICMP_MINLEN) 219 oip = mtod(n, struct ip *); 252 oip = mtod(n, struct ip *); 278 oip = mtod(n, struct ip *); 291 oip = mtod(n, struct ip *); 305 if (icmplen < sizeof(struct ip)) 308 if (MHLEN > sizeof(struct ip) 395 struct ip *ip = mtod(m, struct ip *); local 730 struct ip *ip = mtod(m, struct ip *); local 918 struct ip *ip = mtod(m, struct ip *); local [all...] |
H A D | ip_fw.h | 168 O_IP_SRC_MASK, /* ip = IP/mask */ 173 O_IP_DST_MASK, /* ip = IP/mask */ 383 * This is used to forward to a given address (ip). 413 struct in_addr ip; member in union:_ipfw_insn_if::__anon5430 477 struct in_addr laddr; /* local ip address */ 478 struct in_addr paddr; /* public ip address */ 479 struct in_addr raddr; /* remote ip address */ 500 struct in_addr ip; /* nat ip address */ member in struct:cfg_nat 529 struct in_addr laddr; /* local ip addres 548 struct in_addr ip; /* nat IPv4 address */ member in struct:nat44_cfg_nat [all...] |
H A D | ip_divert.c | 64 #include <netinet/ip.h> 196 struct ip *ip; local 209 if (m->m_len < sizeof(struct ip) && 210 (m = m_pullup(m, sizeof(struct ip))) == NULL) 212 ip = mtod(m, struct ip *); 221 sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2)); 319 struct ip *const ip local [all...] |
H A D | ip.h | 30 * @(#)ip.h 8.2 (Berkeley) 6/1/94 31 * $FreeBSD: stable/11/sys/netinet/ip.h 346755 2019-04-26 17:01:56Z mav $ 49 struct ip { struct
|
/freebsd-11-stable/sys/netinet6/ |
H A D | udp6_usrreq.c | 106 #include <netinet/ip.h> 796 hlen = sizeof(struct ip);
|
H A D | in6_src.c | 100 #include <netinet/ip.h>
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | machdep.c | 1513 struct gate_descriptor *ip; local 1515 ip = idt + idx; 1516 ip->gd_looffset = (int)func; 1517 ip->gd_selector = selec; 1518 ip->gd_stkcpy = 0; 1519 ip->gd_xx = 0; 1520 ip->gd_type = typ; 1521 ip->gd_dpl = dpl; 1522 ip->gd_p = 1; 1523 ip 1547 struct gate_descriptor *ip; local [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_socket.c | 59 #include <netinet/ip.h> 660 struct ip *packet; 670 packet = (struct ip *)malloc(linux_args->len, M_LINUX, M_WAITOK);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 55 #include <netinet/ip.h> 360 const struct ip *ip4h = (const struct ip *)&hdr->roce4grh; 361 struct ip ip4h_checked;
|
/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_vnops.c | 209 struct inode *ip; local 214 ip = VTOI(vp); 215 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) 218 ip->i_flag |= IN_LAZYMOD; 220 ip->i_flag |= IN_MODIFIED; 223 if (ip->i_flag & IN_ACCESS) { 224 ip->i_atime = ts.tv_sec; 225 ip->i_atimensec = ts.tv_nsec; 227 if (ip->i_flag & IN_UPDATE) { 228 ip 307 struct inode *ip = VTOI(vp); local 345 struct inode *ip = VTOI(vp); local 387 struct inode *ip = VTOI(vp); local 517 struct inode *ip = VTOI(vp); local 555 struct inode *ip = VTOI(vp); local 618 struct inode *ip; local 655 struct inode *ip; local 684 struct inode *ip; local 746 struct inode *ip, *xp, *dp; local 1098 struct inode *ip = VTOI(tvp); local 1169 struct inode *ip = VTOI(tvp); local 1248 struct inode *ip, *dp; local 1390 struct inode *ip, *dp; local 1455 struct inode *ip; local 1485 struct inode *ip = VTOI(vp); local 1543 struct inode *ip = VTOI(vp); local 1672 struct inode *ip; local 1710 struct inode *ip; local 1753 struct inode *ip; local 1794 struct inode *ip; local 1836 struct inode *ip; local 1854 struct inode *ip; local 1882 struct inode *ip, *pdir; local 1976 struct inode *ip; local 1998 struct inode *ip; local 2125 struct inode *ip; local 2241 struct inode *ip; local [all...] |
H A D | ext2_inode.c | 75 struct inode *ip; local 80 ip = VTOI(vp); 81 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 83 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); 84 fs = ip->i_e2fs; 87 if ((error = bread(ip->i_devvp, 88 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 93 error = ext2_i2ei(ip, (struct ext2fs_dinode *)((char *)bp->b_data + 94 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number))); 368 * Release blocks associated with the inode ip an 378 ext2_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t lastbn, int level, e4fs_daddr_t *countp) argument 485 struct inode *ip = VTOI(vp); local 521 struct inode *ip; local [all...] |
H A D | ext2_balloc.c | 60 ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size, struct ucred *cred, argument 66 struct vnode *vp = ITOV(ip); 75 fs = ip->i_e2fs; 76 ump = ip->i_ump; 83 if (lbn == ip->i_next_alloc_block + 1) { 84 ip->i_next_alloc_block++; 85 ip->i_next_alloc_goal++; 91 nb = ip->i_db[lbn]; 103 if (ip->i_size >= (lbn + 1) * fs->e2fs_bsize) { 109 error = ext2_alloc(ip, lb [all...] |
H A D | ext2_vfsops.c | 483 struct inode *ip; local 554 ip = VTOI(vp); 555 error = bread(devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 564 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number)), ip); 866 struct inode *ip; local 887 ip = VTOI(vp); 888 if ((ip->i_flag & 941 struct inode *ip; local 955 ip 1051 struct inode *ip; local [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_pptpgre.c | 71 #include <netinet/ip.h> 752 const struct ip *ip; local 769 if (m->m_pkthdr.len < sizeof(*ip) + sizeof(*gre)) { 775 if (m->m_len < sizeof(*ip) + sizeof(*gre)) { 776 if ((m = m_pullup(m, sizeof(*ip) + sizeof(*gre))) == NULL) { 783 ip = mtod(m, const struct ip *); 784 iphlen = ip->ip_hl << 2; 792 ip [all...] |
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_norm.c | 50 #include <netinet/ip.h> 64 uint16_t fe_hdrlen; /* ipv4 header length with ip options 143 static int pf_reassemble(struct mbuf **, struct ip *, int, u_short *); 160 pf_ip2key(struct ip *ip, int dir, struct pf_fragment_cmp *key) argument 163 key->frc_src.v4 = ip->ip_src; 164 key->frc_dst.v4 = ip->ip_dst; 166 key->frc_proto = ip->ip_p; 167 key->frc_id = ip->ip_id; 528 /* Strip off ip heade 545 pf_reassemble(struct mbuf **m0, struct ip *ip, int dir, u_short *reason) argument [all...] |
H A D | if_pfsync.c | 96 #include <netinet/ip.h> 104 sizeof(struct ip) + \ 111 struct ip *ip; member in struct:pfsync_pkt 219 struct ip sc_template; 634 struct ip *ip = mtod(m, struct ip *); local 661 if (ip->ip_ttl != PFSYNC_DFLTTL) { 666 offset = ip 1376 struct ip *ip; local 1571 struct ip *ip; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64stl.c | 50 #include <netinet/ip.h> 91 struct ip *ip; local 93 ip = mtod(m, struct ip*); 94 if (nat64_check_ip4(ip->ip_src.s_addr) != 0 || 95 nat64_check_ip4(ip->ip_dst.s_addr) != 0 || 96 nat64_check_private_ip4(&cfg->base, ip->ip_src.s_addr) != 0 || 97 nat64_check_private_ip4(&cfg->base, ip->ip_dst.s_addr) != 0) 105 nat64_embed_ip4(&saddr, cfg->base.plat_plen, ip [all...] |