/freebsd-12-stable/sys/netinet/ |
H A D | in_rss.c | 61 #include <netinet/ip.h> 173 const struct ip *ip; local 194 if (m->m_pkthdr.len < (sizeof(struct ip))) { 198 if (m->m_len < (sizeof(struct ip))) { 204 ip = mtod(m, struct ip *); 205 proto = ip->ip_p; 206 iphlen = ip->ip_hl << 2; 213 if (ip [all...] |
H A D | ip_options.h | 58 int ip_optcopy(struct ip *, struct ip *);
|
H A D | ip_output.c | 79 #include <netinet/ip.h> 119 struct ip *ip; local 122 ip = mtod(m, struct ip *); 125 odst.s_addr = ip->ip_dst.s_addr; 131 ip = mtod(m, struct ip *); 134 if (odst.s_addr != ip->ip_dst.s_addr) { 137 if (in_localip(ip 220 struct ip *ip; local 763 ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu, u_long if_hwassist_flags) argument 938 struct ip *ip; local 1478 struct ip *ip; local [all...] |
/freebsd-12-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 49 #include <netinet/ip.h> 78 extern int ip_optcopy(struct ip *, struct ip *); 131 struct ip *ip = mtod(*mp, struct ip *); local 138 ip->ip_len = htons(ip->ip_len); 139 ip->ip_off = htons(ip 356 ip_t *ip; local 450 ip_t *ip, *oip; local 523 ip_t *ip, *ip2; local 698 register struct ip *ip, *mhip; local 1049 ip_t *ip; local 1214 char *ip; local [all...] |
/freebsd-12-stable/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 96 struct inode *ip; local 114 ip = VTOI(vp); 115 dp = ip->i_din1; 116 fs = ITOFS(ip); 117 mp = ITOVFS(ip); 118 ump = ITOUMP(ip); 138 lastlbn = lblkno(fs, ip->i_size); 141 osize = blksize(fs, ip, nb); 144 error = ffs_realloccg(ip, nb, dp->di_db[nb], 145 ffs_blkpref_ufs1(ip, lastlb 593 struct inode *ip; local [all...] |
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | slcompress.c | 48 #include <netinet/ip.h> 160 struct ip * ip, 166 register u_int hlen = ip->ip_hl; 179 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) { 181 ip->ip_off, (unsigned long)m->m_len); 185 th = (struct tcphdr *) & ((int *) ip)[hlen]; 200 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 201 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || 221 if (ip 159 sl_compress_tcp(struct mbuf * m, struct ip * ip, struct slcompress *comp, struct slstat *slstat, int compress_cid) argument 439 register struct ip *ip; local [all...] |
/freebsd-12-stable/sys/fs/ext2fs/ |
H A D | ext2_csum.c | 119 ext2_extattr_blk_csum(struct inode *ip, uint64_t facl, argument 125 fs = ip->i_e2fs; 138 ext2_extattr_blk_csum_verify(struct inode *ip, struct buf *bp) argument 144 if (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM) && 145 (header->h_checksum != ext2_extattr_blk_csum(ip, ip->i_facl, header))) { 154 ext2_extattr_blk_csum_set(struct inode *ip, struct buf *bp) argument 158 if (!EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM)) 162 header->h_checksum = ext2_extattr_blk_csum(ip, ip 174 ext2_is_dirent_tail(struct inode *ip, struct ext2fs_direct_2 *ep) argument 195 ext2_dirent_get_tail(struct inode *ip, struct ext2fs_direct_2 *ep) argument 222 ext2_dirent_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int size) argument 242 ext2_dirent_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep) argument 259 ext2_get_dx_count(struct inode *ip, struct ext2fs_direct_2 *ep, int *offset) argument 288 ext2_dx_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int count_offset, int count, struct ext2fs_htree_tail *tp) argument 316 ext2_dx_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep) argument 343 ext2_dir_blk_csum_verify(struct inode *ip, struct buf *bp) argument 368 ext2_dirent_csum_set(struct inode *ip, struct ext2fs_direct_2 *ep) argument 387 ext2_dx_csum_set(struct inode *ip, struct ext2fs_direct_2 *ep) argument 414 ext2_extent_blk_csum(struct inode *ip, struct ext4_extent_header *ehp) argument 435 ext2_extent_blk_csum_verify(struct inode *ip, void *data) argument 463 ext2_extent_blk_csum_set(struct inode *ip, void *data) argument 563 ext2_ei_csum(struct inode *ip, struct ext2fs_dinode *ei) argument 606 ext2_ei_csum_verify(struct inode *ip, struct ext2fs_dinode *ei) argument 645 ext2_ei_csum_set(struct inode *ip, struct ext2fs_dinode *ei) argument [all...] |
H A D | ext2_extattr.c | 177 ext2_extattr_block_check(struct inode *ip, struct buf *bp) argument 189 return (ext2_extattr_blk_csum_verify(ip, bp)); 193 ext2_extattr_inode_list(struct inode *ip, int attrnamespace, argument 204 fs = ip->i_e2fs; 206 if ((error = bread(ip->i_devvp, 207 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 215 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number)); 267 ext2_extattr_block_list(struct inode *ip, int attrnamespace, argument 278 fs = ip->i_e2fs; 280 error = bread(ip 334 ext2_extattr_inode_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument 408 ext2_extattr_block_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument 537 ext2_extattr_inode_delete(struct inode *ip, int attrnamespace, const char *name) argument 628 ext2_extattr_block_clone(struct inode *ip, struct buf **bpp) argument 669 ext2_extattr_block_delete(struct inode *ip, int attrnamespace, const char *name) argument 899 ext2_extattr_inode_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument 1059 ext2_extattr_block_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument 1209 ext2_extattr_free(struct inode *ip) argument [all...] |
H A D | ext2_inode.c | 76 struct inode *ip; local 81 ip = VTOI(vp); 82 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 84 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); 85 fs = ip->i_e2fs; 88 if ((error = bread(ip->i_devvp, 89 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 94 error = ext2_i2ei(ip, (struct ext2fs_dinode *)((char *)bp->b_data + 95 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number))); 113 * Release blocks associated with the inode ip an 122 ext2_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t lastbn, int level, e4fs_daddr_t *countp) argument 554 struct inode *ip; local 594 struct inode *ip = VTOI(vp); local 631 struct inode *ip; local [all...] |
H A D | ext2_acl.h | 51 void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
|
/freebsd-12-stable/stand/libsa/ |
H A D | udp.c | 51 #include <netinet/ip.h> 59 /* Caller must leave room for ethernet, ip and udp headers in front!! */ 95 uh->uh_sum = in_cksum(ui, len + sizeof (struct ip)); 142 struct ip *ip; local 143 struct ip tip; 145 n = ntohs(uh->uh_ulen) + sizeof(*ip); 147 /* Check checksum (must save and restore ip header) */ 148 ip = (struct ip *)u [all...] |
/freebsd-12-stable/sys/net/ |
H A D | slcompress.c | 50 #include <netinet/ip.h> 147 * and "ip" must be == mtod(m, struct ip *). "comp" supplies the 155 sl_compress_tcp(struct mbuf *m, struct ip *ip, struct slcompress *comp, argument 159 u_int hlen = ip->ip_hl; 173 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) 176 th = (struct tcphdr *)&((int32_t *)ip)[hlen]; 187 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 188 ip 463 struct ip *ip; local [all...] |
/freebsd-12-stable/sys/arm/arm/ |
H A D | bcopy_page.S | 73 ldmia r0!, {r3-r8,ip,lr} ; \ 74 stmia r1!, {r3-r8,ip,lr} 149 mov ip, #0 153 stmia r0!, {r3-r8,ip,lr} 154 stmia r0!, {r3-r8,ip,lr} 155 stmia r0!, {r3-r8,ip,lr} 156 stmia r0!, {r3-r8,ip,lr} 162 stmia r0!, {r3-r8,ip,lr} 163 stmia r0!, {r3-r8,ip,lr} 164 stmia r0!, {r3-r8,ip,l [all...] |
H A D | support.S | 142 mov ip, r0 146 ands r2, ip, #0x03 /* Get the bottom two bits */ 153 tst ip, #0x04 /* Quad-align for armv5e */ 160 strne r3, [ip], #0x04 172 strdge r2, [ip], #0x08 173 strdge r2, [ip], #0x08 174 strdge r2, [ip], #0x08 175 strdge r2, [ip], #0x08 176 strdge r2, [ip], #0x08 177 strdge r2, [ip], # [all...] |
/freebsd-12-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 56 #include <netinet/ip.h> 181 struct ip *ip4; 185 ip4 = mtod(m, struct ip *); 230 struct ip *ip4; 233 ip4 = mtod(m, struct ip *); 486 nat64_cksum_convert(struct ip6_hdr *ip6, struct ip *ip) argument 491 sum = ~ip->ip_src.s_addr >> 16; 492 sum += ~ip->ip_src.s_addr & 0xffff; 493 sum += ~ip 506 nat64_init_ip4hdr(const struct ip6_hdr *ip6, const struct ip6_frag *frag, uint16_t plen, uint8_t proto, struct ip *ip) argument 792 struct ip *ip, *oip; local 900 struct ip ip; local 1229 struct ip *ip; local 1338 struct ip ip; local 1559 struct ip ip; local [all...] |
/freebsd-12-stable/sbin/restore/ |
H A D | restore.c | 210 struct entry *ep, *np, *ip; local 236 ip = lookupino(np->e_ino); 237 if (ip == NULL) 239 if (ip != np) 246 ip = lookupino(ino); 247 if (ip != NULL) { 249 for (ep = ip->e_links; ep != NULL; ep = ep->e_links) { 251 ip = ep; 269 if (((key & (INOFND|NAMEFND)) == (INOFND|NAMEFND)) && ip != np) { 282 (((key & INOFND) && ip [all...] |
/freebsd-12-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.c | 67 ng_l2cap_l2ca_con_ip *ip = NULL; local 74 if (msg->header.arglen != sizeof(*ip)) { 83 ip = (ng_l2cap_l2ca_con_ip *)(msg->data); 86 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); 89 error = ng_l2cap_lp_con_req(l2cap, &ip->bdaddr,ip->linktype); 98 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); 108 ch = ng_l2cap_new_chan(l2cap, con, ip 226 ng_l2cap_l2ca_con_rsp_ip *ip = NULL; local 434 ng_l2cap_l2ca_con_ind_ip *ip = NULL; local 474 ng_l2cap_l2ca_cfg_ip *ip = NULL; local 646 ng_l2cap_l2ca_cfg_rsp_ip *ip = NULL; local 798 ng_l2cap_l2ca_cfg_ind_ip *ip = NULL; local 1185 ng_l2cap_l2ca_qos_ind_ip *ip = NULL; local 1219 ng_l2cap_l2ca_discon_ip *ip = NULL; local 1374 ng_l2cap_l2ca_discon_ind_ip *ip = NULL; local 1481 ng_l2cap_l2ca_ping_ip *ip = NULL; local 1610 ng_l2cap_l2ca_get_info_ip *ip = NULL; local 1731 ng_l2cap_l2ca_enable_clt_ip *ip = NULL; local [all...] |
/freebsd-12-stable/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 34 #include <netinet/ip.h> 106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { argument 154 strcpy(ip, inet_ntoa(s_in.sin_addr)); 162 char* ip, char* ttl, unsigned short *port) { 164 struct ip* iph; 170 iph = (struct ip*) buf; 178 strcpy(ip, inet_ntoa(iph->ip_src)); 210 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) { argument 222 inet_aton(ip, &tmp_dst); 231 struct ip* ip 314 char ip[16] = "\\x00"; local [all...] |
/freebsd-12-stable/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_encoder.h | 67 extern int pt_encode_tip(struct pt_encoder *, uint64_t ip, 77 extern int pt_encode_tip_pge(struct pt_encoder *, uint64_t ip, 81 extern int pt_encode_tip_pgd(struct pt_encoder *, uint64_t ip, 85 extern int pt_encode_fup(struct pt_encoder *, uint64_t ip,
|
/freebsd-12-stable/contrib/gcc/config/arm/ |
H A D | bpabi.S | 45 subs ip, xxl, yyl 46 sbcs ip, xxh, yyh 47 subeqs ip, xxl, yyl 48 mov r0, ip
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 188 int ip; // index into optstring, traverses every char 197 cp = ip = 0; 201 ic = optstring.charAt(ip); 202 if (ic != '(' && ++ip == il) 204 ic = optstring.charAt(ip); 205 if (ic == ':' && ++ip == il) 207 ic = optstring.charAt(ip); 209 if (++ip == il) 213 while (ip < il && (ic = optstring.charAt(ip)) ! [all...] |
/freebsd-12-stable/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.h | 93 struct icl_pdu ip; member in struct:icl_cxgbei_pdu 102 ip_to_icp(struct icl_pdu *ip) argument 105 return (__containerof(ip, struct icl_cxgbei_pdu, ip));
|
H A D | icl_cxgbei.c | 164 icl_cxgbei_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument 167 struct icl_cxgbei_pdu *icp = ip_to_icp(ip); 171 MPASS(ic == ip->ip_conn); 172 MPASS(ip->ip_bhs_mbuf != NULL); 174 m_freem(ip->ip_ahs_mbuf); 175 m_freem(ip->ip_data_mbuf); 176 m_freem(ip->ip_bhs_mbuf); /* storage for icl_cxgbei_pdu itself */ 188 struct icl_pdu *ip; local 201 ip = &icp->ip; 221 icl_cxgbei_new_pdu_set_conn(struct icl_pdu *ip, struct icl_conn *ic) argument 236 struct icl_pdu *ip; local 271 struct icl_pdu *ip = &icp->ip; local 326 icl_cxgbei_conn_pdu_append_data(struct icl_conn *ic, struct icl_pdu *ip, const void *addr, size_t len, int flags) argument 361 icl_cxgbei_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument 372 icl_cxgbei_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument 721 struct icl_pdu *ip; local 795 icl_cxgbei_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *ittp, void **arg) argument 898 struct icl_pdu *ip = io_to_request_pdu(io); local [all...] |
/freebsd-12-stable/libexec/rc/rc.d/ |
H A D | netwait | 32 local ip rc count output link wait_if got_if any_error 86 for ip in ${netwait_ip}; do 87 echo -n "Waiting for ${ip} to respond to ICMP ping" 91 /sbin/ping -t 1 -c 1 -o ${ip} >/dev/null 2>&1
|
/freebsd-12-stable/stand/i386/kgzldr/ |
H A D | boot.c | 59 static const u_char *ip; /* input pointer */ variable 98 ip = kgz_ndata + KGZ_HEAD; 113 if ((size_t)(ip - kgz_ndata) + KGZ_TAIL > kgz.nsize) 115 return *ip++;
|