/freebsd-current/sys/kern/ |
H A D | uipc_mbufhash.c | 36 #include <netinet/ip.h> 82 struct ip ip; member in union:__anon5027 90 const struct ip *ip; local 99 ip = m_common_hash_gethdr(m, off, sizeof(*ip), &buf); 100 if (ip == NULL) 103 p = fnv_32_buf(&ip->ip_src, sizeof(struct in_addr), p); 104 p = fnv_32_buf(&ip [all...] |
/freebsd-current/sys/dev/iser/ |
H A D | icl_iser.c | 145 iser_conn_pdu_get_bio(struct icl_conn *ic, struct icl_pdu *ip, argument 149 MPASS(ip->ip_data_mbuf == NULL); 153 iser_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, argument 157 if (ip->ip_data_mbuf) 158 memcpy(addr, ip->ip_data_mbuf + off, len); 168 struct icl_pdu *ip; local 178 ip = &iser_pdu->icl_pdu; 179 ip->ip_conn = ic; 180 ip->ip_bhs = &iser_pdu->desc.iscsi_header; 182 return (ip); 192 iser_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument 215 iser_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument 243 iser_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument 469 iser_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *task_tagp, void **prvp) argument 484 struct icl_pdu *ip = prv; local [all...] |
/freebsd-current/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm6.c | 67 uint8_t ip[RTE_LPM6_IPV6_ADDR_SIZE]; /**< Rule IP address. */ member in struct:rte_lpm6_rule 74 uint8_t ip[RTE_LPM6_IPV6_ADDR_SIZE]; /**< Rule IP address. */ member in struct:rte_lpm6_rule_key 118 ip6_mask_addr(uint8_t *ip, uint8_t depth) argument 128 ip[i] = (uint8_t)(ip[i] & mask); 130 ip[i] = 0; 214 * note that ip must be already masked 217 rule_key_init(struct rte_lpm6_rule_key *key, uint8_t *ip, uint8_t depth) 219 ip6_copy_addr(key->ip, ip); 582 get_bitshift(const uint8_t *ip, uint8_t first_byte, uint8_t bytes) argument 607 simulate_add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl, struct rte_lpm6_tbl_entry **next_tbl, const uint8_t *ip, uint8_t bytes, uint8_t first_byte, uint8_t depth, uint32_t *need_tbl_nb) argument 659 add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl, uint32_t tbl_ind, struct rte_lpm6_tbl_entry **next_tbl, uint32_t *next_tbl_ind, uint8_t *ip, uint8_t bytes, uint8_t first_byte, uint8_t depth, uint32_t next_hop, uint8_t is_new_rule) argument 863 rte_lpm6_add(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth, uint32_t next_hop, int is_new_rule) argument 923 lookup_step(const struct rte_lpm6 *lpm, const struct rte_lpm6_tbl_entry *tbl, const struct rte_lpm6_tbl_entry **tbl_next, const uint8_t *ip, uint8_t first_byte, uint32_t *next_hop) argument 954 rte_lpm6_lookup(const struct rte_lpm6 *lpm, const uint8_t *ip, uint32_t *next_hop) argument 1028 fill_rule6(char *buffer, const uint8_t *ip, uint8_t depth, uint32_t next_hop) argument 1211 rule_find_range(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth, struct rte_lpm6_tbl_entry **from, struct rte_lpm6_tbl_entry **to, uint32_t *out_tbl_ind) argument 1318 rte_lpm6_delete(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth, struct rte_lpm6_rule *lsp_rule) argument [all...] |
H A D | rte_lpm.h | 113 uint32_t ip; /**< Rule IP address. */ member in struct:rte_lpm_rule 198 * @param ip 208 rte_lpm_add(struct rte_lpm *lpm, uint32_t ip, uint8_t depth, uint32_t next_hop); 216 * @param ip 226 rte_lpm_is_rule_present(struct rte_lpm *lpm, uint32_t ip, uint8_t depth, 234 * @param ip 246 rte_lpm_delete(struct rte_lpm *lpm, uint32_t ip, uint8_t depth, 263 * @param ip 271 rte_lpm_lookup(struct rte_lpm *lpm, uint32_t ip, uint32_t *next_hop) argument 273 unsigned tbl24_index = (ip >> [all...] |
/freebsd-current/contrib/libucl/src/ |
H A D | ucl_hash.h | 93 #define ucl_hash_iterate(hl, ip) ucl_hash_iterate2((hl), (ip), NULL)
|
/freebsd-current/sys/contrib/openzfs/module/lua/setjmp/ |
H A D | setjmp_arm.S | 60 mov ip, sp 72 mov sp, ip
|
/freebsd-current/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_fletcher_intel.c | 104 const uint64_t *ip = buf; local 105 const uint64_t *ipend = (uint64_t *)((uint8_t *)ip + size); 110 asm volatile("vpmovzxdq %0, %%ymm4"::"m" (*ip)); 115 } while ((ip += 2) < ipend); 128 const uint64_t *ip = buf; local 129 const uint64_t *ipend = (uint64_t *)((uint8_t *)ip + size); 136 asm volatile("vpmovzxdq %0, %%ymm4"::"m" (*ip)); 143 } while ((ip += 2) < ipend);
|
H A D | zfs_fletcher_avx512.c | 94 const uint32_t *ip = buf; local 95 const uint32_t *ipend = (uint32_t *)((uint8_t *)ip + size); 100 __asm("vpmovzxdq %0, %%zmm4"::"m" (*ip)); 105 } while ((ip += 8) < ipend); 116 const uint32_t *ip = buf; local 117 const uint32_t *ipend = (uint32_t *)((uint8_t *)ip + size); 127 __asm("vpmovzxdq %0, %%zmm5"::"m" (*ip)); 145 } while ((ip += 8) < ipend); 180 const uint32_t *ip = buf; local 181 const uint32_t *ipend = (uint32_t *)((uint8_t *)ip [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_ctldir.c | 43 zpl_common_open(struct inode *ip, struct file *filp) argument 48 return (generic_file_open(ip, filp)); 120 struct inode *ip = path->dentry->d_inode; local 124 generic_fillattr(user_ns, ip, stat); 126 generic_fillattr(user_ns, ip, stat); 128 generic_fillattr(user_ns, request_mask, ip, stat); 133 generic_fillattr(ip, stat); 135 stat->atime = current_time(ip); 145 struct inode *ip; local 149 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 238 struct inode *ip = NULL; local 386 struct inode *ip; local 429 struct inode *ip = path->dentry->d_inode; local 516 struct inode *ip = NULL; local 602 struct inode *ip = path->dentry->d_inode; local [all...] |
/freebsd-current/sbin/fsck_ffs/ |
H A D | pass1.c | 249 struct inode ip; local 277 ginode(inumber, &ip); 278 clearinode(ip.i_dp); 279 inodirty(&ip); 280 irelse(&ip); 292 ginode(inumber, &ip); 293 dp = ip.i_dp; 296 inodirty(&ip); 297 irelse(&ip); 351 ginode(inumber, &ip); [all...] |
/freebsd-current/sbin/natd/ |
H A D | natd.c | 24 #include <netinet/ip.h> 108 static char* FormatPacket (struct ip*); 109 static void PrintPacket (struct ip*); 110 static void SyslogPacket (struct ip*, int priority, const char *label); 517 struct ip* ip; local 549 ip = (struct ip*) buf; 557 switch (ip->ip_p) { 571 printf ("[%d] ", ip 643 struct ip* ip; local 828 PrintPacket(struct ip* ip) argument 833 SyslogPacket(struct ip* ip, int priority, const char *label) argument 838 FormatPacket(struct ip* ip) argument 1996 struct instance *ip; local [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 69 static int ext2_htree_check_next(struct inode *ip, uint32_t hash, 72 static int ext2_htree_find_leaf(struct inode *ip, const char *name, 83 static uint32_t ext2_htree_node_limit(struct inode *ip); 92 static int ext2_htree_split_dirblock(struct inode *ip, 97 static uint32_t ext2_htree_root_limit(struct inode *ip, int len); 98 static int ext2_htree_writebuf(struct inode *ip, 102 ext2_htree_has_idx(struct inode *ip) argument 104 if (EXT2_HAS_COMPAT_FEATURE(ip->i_e2fs, EXT2F_COMPAT_DIRHASHINDEX) && 105 ip->i_flag & IN_E3INDEX) 112 ext2_htree_check_next(struct inode *ip, uint32_ argument 217 ext2_htree_root_limit(struct inode *ip, int len) argument 233 ext2_htree_node_limit(struct inode *ip) argument 256 ext2_htree_find_leaf(struct inode *ip, const char *name, int namelen, uint32_t *hash, uint8_t *hash_ver, struct ext2fs_htree_lookup_info *info) argument 351 ext2_htree_lookup(struct inode *ip, const char *name, int namelen, struct buf **bpp, int *entryoffp, doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, struct ext2fs_searchslot *ss) argument 449 ext2_htree_writebuf(struct inode* ip, struct ext2fs_htree_lookup_info *info) argument 535 ext2_htree_split_dirblock(struct inode *ip, char *block1, char *block2, uint32_t blksize, uint32_t *hash_seed, uint8_t hash_version, uint32_t *split_hash, struct ext2fs_direct_2 *entry) argument 785 struct inode *ip; local [all...] |
H A D | ext2_dinode.h | 87 #define E2DI_HAS_XTIME(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \ 89 #define E2DI_HAS_HUGE_FILE(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.ipv4remoteicmp.ksh | 30 # Test ip:::{send,receive} of IPv4 ICMP to a remote host. 34 # 1. A change to the ip stack breaking expected probe behavior, 60 ip:::send 64 printf("1 ip:::send ("); 71 ip:::receive 75 printf("2 ip:::receive (");
|
H A D | tst.ipv6remoteicmp.ksh | 30 # Test ip:::{send,receive} of IPv6 ICMP to a remote host. This test is 36 # 1. A change to the ip stack breaking expected probe behavior, 69 ip:::send 73 printf("1 ip:::send ("); 79 ip:::receive 83 printf("2 ip:::receive (");
|
H A D | tst.ipv6localicmp.ksh | 30 # Test ip:::{send,receive} of IPv6 ICMP to a local address. This creates a 35 # 1. A change to the ip stack breaking expected probe behavior, 60 ip:::send 64 printf("2 ip:::send ("); 70 ip:::receive 74 printf("3 ip:::receive (");
|
H A D | tst.ipv4localicmp.ksh | 30 # Test ip:::{send,receive} of IPv4 ICMP to a local address. 34 # 1. A change to the ip stack breaking expected probe behavior, 50 ip:::send 54 printf("2 ip:::send ("); 61 ip:::receive 65 printf("3 ip:::receive (");
|
/freebsd-current/contrib/unbound/compat/ |
H A D | gmtime_r.c | 54 const int * ip; local 93 ip = mon_lengths[yleap]; 94 for (tmp->tm_mon = 0; days >= (long) ip[tmp->tm_mon]; ++(tmp->tm_mon)) 95 days = days - (long) ip[tmp->tm_mon];
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | fix_options.c | 21 #include <netinet/ip.h> 44 struct protoent *ip; local 66 if ((ip = getprotobyname("ip")) != 0) 67 ipproto = ip->p_proto;
|
/freebsd-current/libexec/rtld-elf/arm/ |
H A D | rtld_start.S | 74 * ip = &GOT[n+3] 80 sub r1, ip, lr /* r1 = 4 * (n + 1) */ 85 mov r4, ip /* save GOT location */ 93 mov ip, r0 /* save new address */ 96 mov pc, ip /* jump to the new address */
|
/freebsd-current/usr.sbin/ppp/ |
H A D | iplist.h | 30 struct in_addr ip; member in struct:iplist_cur
|
/freebsd-current/sys/riscv/include/ |
H A D | in_cksum.h | 42 u_int in_cksum_hdr(const struct ip *);
|
/freebsd-current/sys/arm64/include/ |
H A D | in_cksum.h | 42 u_int in_cksum_hdr(const struct ip *);
|
/freebsd-current/sys/netpfil/pf/ |
H A D | in4_cksum.c | 71 #include <netinet/ip.h> 101 if (m->m_len < sizeof(struct ip)) 106 u.ipov.ih_src = mtod(m, struct ip *)->ip_src; 107 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
|
/freebsd-current/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 88 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, argument 91 struct fs *fs = ip->i_fs; 105 cg = ino_to_cg(fs, ip->i_number); 108 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg); 110 if (ip->i_fs->fs_magic == FS_UFS1_MAGIC) 111 ip->i_ffs1_blocks += size / DEV_BSIZE; 113 ip->i_ffs2_blocks += size / DEV_BSIZE; 149 ffs_blkpref_ufs1(struct inode *ip, daddr_t lbn, int indx, int32_t *bap) argument 155 fs = ip->i_fs; 158 cg = ino_to_cg(fs, ip 188 ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_t *bap) argument 240 ffs_hashalloc(struct inode *ip, u_int cg, daddr_t pref, int size, daddr_t (*allocator)(struct inode *, int, daddr_t, int)) argument 289 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument 374 ffs_alloccgblk(struct inode *ip, struct m_buf *bp, daddr_t bpref) argument 423 ffs_blkfree(struct inode *ip, daddr_t bno, long size) argument [all...] |