/freebsd-10-stable/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 13 printiphdr(ip) 14 ip_t *ip; 16 PRINTF("ip(v=%d,hl=%d,len=%d,tos=%#x,off=%#x,sum=%#x,src=%#x,dst=%#x", 17 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos, 18 ntohs(ip->ip_off), ntohs(ip->ip_sum), ntohl(ip [all...] |
H A D | count4bits.c | 19 int count4bits(ip) 20 u_int ip; 25 ip = ipn = ntohl(ip); 37 if (ipn == ip)
|
/freebsd-10-stable/contrib/compiler-rt/lib/arm/ |
H A D | switch8.S | 34 ldrb ip, [lr, #-1] // get first byte in table 35 cmp r0, ip // signed compare with index 37 ldrsbhs r0, [lr, ip] // if out of range, use last entry in table 38 add ip, lr, r0, lsl #1 // compute label = lr + element*2 39 bx ip // jump to computed label
|
H A D | switchu8.S | 34 ldrb ip, [lr, #-1] // get first byte in table 35 cmp r0, ip // compare with index 37 ldrbhs r0, [lr, ip] // if out of range, use last entry in table 38 add ip, lr, r0, lsl #1 // compute label = lr + element*2 39 bx ip // jump to computed label
|
H A D | switch16.S | 34 ldrh ip, [lr, #-1] // get first 16-bit word in table 35 cmp r0, ip // compare with index 38 add ip, lr, ip, lsl #1 // compute address of last element in table 39 ldrshhs r0, [ip, #1] // load 16-bit element if r0 out of range 40 add ip, lr, r0, lsl #1 // compute label = lr + element*2 41 bx ip // jump to computed label
|
H A D | switch32.S | 34 ldr ip, [lr, #-1] // get first 32-bit word in table 35 cmp r0, ip // compare with index 38 add ip, lr, ip, lsl #2 // compute address of last element in table 39 ldrcs r0, [ip, #3] // load 32-bit element if r0 out of range 40 add ip, lr, r0 // compute label = lr + element 41 bx ip // jump to computed label
|
/freebsd-10-stable/bin/stty/ |
H A D | key.c | 106 ksearch(char ***argvp, struct info *ip) argument 113 ip->off = 1; 116 ip->off = 0; 122 if (!(kp->flags & F_OFFOK) && ip->off) { 126 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 130 kp->f(ip); 135 f_all(struct info *ip) argument 137 print(&ip->t, &ip->win, ip 141 f_cbreak(struct info *ip) argument 156 f_columns(struct info *ip) argument 164 f_dec(struct info *ip) argument 177 f_ek(struct info *ip) argument 186 f_everything(struct info *ip) argument 193 f_extproc(struct info *ip) argument 206 f_ispeed(struct info *ip) argument 214 f_nl(struct info *ip) argument 228 f_ospeed(struct info *ip) argument 236 f_raw(struct info *ip) argument 250 f_rows(struct info *ip) argument 258 f_sane(struct info *ip) argument 273 f_size(struct info *ip) argument 280 f_speed(struct info *ip) argument 287 f_tty(struct info *ip) argument [all...] |
/freebsd-10-stable/sys/boot/arm/uboot/ |
H A D | start.S | 43 mrc p15, 0, ip, c1, c0, 0 44 orr ip, ip, #(CPU_CONTROL_UNAL_ENABLE) 45 orr ip, ip, #(CPU_CONTROL_AFLT_ENABLE) 46 mcr p15, 0, ip, c1, c0, 0 56 adr ip, .here_off /* .here_off is a symbol whose value */ 57 ldr r0, [ip] /* is its own offset in the text seg. */ 58 sub r0, ip, r0 /* Get its pc-relative address and */ 65 ldr ip, [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_inttab.c | 38 dt_inttab_t *ip; local 42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL || 43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) { 44 dt_free(dtp, ip); 48 ip->int_hdl = dtp; 49 ip->int_hashlen = len; 51 return (ip); 55 dt_inttab_destroy(dt_inttab_t *ip) argument 59 for (hp = ip->int_head; hp != NULL; hp = np) { 61 dt_free(ip 69 dt_inttab_insert(dt_inttab_t *ip, uint64_t value, uint_t flags) argument 103 dt_inttab_size(const dt_inttab_t *ip) argument 109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument [all...] |
/freebsd-10-stable/sys/cddl/boot/zfs/ |
H A D | fletcher.c | 31 const uint64_t *ip = buf; local 32 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 35 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) { 36 a0 += ip[0]; 37 a1 += ip[1]; 48 const uint64_t *ip = buf; local 49 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 52 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip 65 const uint32_t *ip = buf; local 82 const uint32_t *ip = buf; local [all...] |
/freebsd-10-stable/usr.bin/lam/ |
H A D | lam.c | 80 struct openfile *ip; local 89 for (ip = input; ip->fp != NULL; ip++) 90 linep = gatherline(ip); 94 fputs(ip->sepstring, stdout); 103 struct openfile *ip = input; local 115 ip->fp = stdin; 116 else if ((ip->fp = fopen(p, "r")) == NULL) { 119 ip 177 pad(struct openfile *ip) argument 191 gatherline(struct openfile *ip) argument [all...] |
/freebsd-10-stable/sys/fs/ext2fs/ |
H A D | ext2_inode_cnv.c | 85 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) argument 89 ip->i_nlink = ei->e2di_nlink; 96 ip->i_mode = ei->e2di_nlink ? ei->e2di_mode : 0; 97 ip->i_size = ei->e2di_size; 98 if (S_ISREG(ip->i_mode)) 99 ip->i_size |= ((u_int64_t)ei->e2di_size_high) << 32; 100 ip->i_atime = ei->e2di_atime; 101 ip->i_mtime = ei->e2di_mtime; 102 ip->i_ctime = ei->e2di_ctime; 103 if (E2DI_HAS_XTIME(ip)) { 138 ext2_i2ei(struct inode *ip, struct ext2fs_dinode *ei) argument [all...] |
/freebsd-10-stable/sbin/hastd/ |
H A D | lzf.c | 110 const u8 *ip = (const u8 *)in_data; local 112 const u8 *in_end = ip + in_len; 138 *hslot++ = ip; 144 hval = FRST (ip); 145 while (ip < in_end - 2) 147 hval = NEXT (hval, ip); 149 ref = *hslot; *hslot = ip; 153 && ref < ip /* the next test will actually take care of this, but this is faster */ 155 && (off = ip - ref - 1) < MAX_OFF 156 && ip 315 u8 const *ip = (const u8 *)in_data; local [all...] |
/freebsd-10-stable/lib/libstand/ |
H A D | udp.c | 52 #include <netinet/ip.h> 60 /* Caller must leave room for ethernet, ip and udp headers in front!! */ 68 struct ip *ip; local 85 ip = (struct ip *)uh - 1; 86 len += sizeof(*ip) + sizeof(*uh); 88 bzero(ip, sizeof(*ip) + sizeof(*uh)); 90 ip 145 struct ip *ip; local [all...] |
/freebsd-10-stable/sys/ufs/ufs/ |
H A D | ufs_inode.c | 75 struct inode *ip = VTOI(vp); local 85 if (ip->i_mode == 0) 98 if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) || 99 (ip->i_nlink <= 0 && !UFS_RDONLY(ip))) { 127 isize = ip->i_size; 128 if (ip->i_ump->um_fstype == UFS2) 129 isize += ip->i_din2->di_extsize; 130 if (ip->i_effnlink <= 0 && isize && !UFS_RDONLY(ip)) 183 struct inode *ip; local 216 struct inode *ip = VTOI(vp); local [all...] |
/freebsd-10-stable/lib/libc/arm/string/ |
H A D | memset.S | 96 mov ip, r0 100 ands r2, ip, #0x03 /* Get the bottom two bits */ 109 tst ip, #0x04 /* Quad-align for armv5e */ 118 strne r3, [ip], #0x04 130 strdge r2, [ip], #0x08 131 strdge r2, [ip], #0x08 132 strdge r2, [ip], #0x08 133 strdge r2, [ip], #0x08 134 strdge r2, [ip], #0x08 135 strdge r2, [ip], # [all...] |
/freebsd-10-stable/contrib/ipfilter/ipsend/ |
H A D | iptests.c | 89 #include <netinet/ip.h> 125 void ip_test1(dev, mtu, ip, gwip, ptest) 128 ip_t *ip; 140 IP_HL_A(ip, sizeof(*ip) >> 2); 141 IP_V_A(ip, IPVERSION); 142 ip->ip_tos = 0; 143 ip->ip_off = 0; 144 ip->ip_ttl = 60; 145 ip [all...] |
/freebsd-10-stable/sys/amd64/include/ |
H A D | in_cksum.h | 56 in_cksum_update(struct ip *ip) argument 59 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 60 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 65 #define in_cksum_update(ip) \ 68 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 69 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 77 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-10-stable/sys/ia64/include/ |
H A D | in_cksum.h | 52 in_cksum_update(struct ip *ip) argument 55 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 56 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 61 #define in_cksum_update(ip) \ 64 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 65 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 73 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-10-stable/sys/mips/include/ |
H A D | in_cksum.h | 53 in_cksum_update(struct ip *ip) argument 56 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 57 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 62 #define in_cksum_update(ip) \ 65 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 66 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 74 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-10-stable/sys/powerpc/include/ |
H A D | in_cksum.h | 52 in_cksum_update(struct ip *ip) argument 55 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 56 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 61 #define in_cksum_update(ip) \ 64 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 65 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 73 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-10-stable/lib/csu/arm/ |
H A D | crti.S | 9 mov ip, sp 10 stmdb sp!, {fp, ip, lr, pc} 11 sub fp, ip, #4 18 mov ip, sp 19 stmdb sp!, {fp, ip, lr, pc} 20 sub fp, ip, #4
|
/freebsd-10-stable/contrib/traceroute/ |
H A D | rip_output.c | 7 register struct ip *ip; local 38 m->m_off = MMAXOFF - sizeof(struct ip); 39 m->m_len = sizeof(struct ip); 42 ip = mtod(m, struct ip *); 43 ip->ip_tos = 0; 44 ip->ip_off = 0; 45 ip->ip_p = proto; 46 ip [all...] |
/freebsd-10-stable/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfs_fletcher.c | 142 const uint64_t *ip = buf; local 143 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 146 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) { 147 a0 += ip[0]; 148 a1 += ip[1]; 161 const uint64_t *ip = buf; local 162 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 165 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip 180 const uint32_t *ip = buf; local 199 const uint32_t *ip = buf; local 217 const uint32_t *ip = buf; local 240 const uint32_t *ip = buf; local [all...] |
/freebsd-10-stable/sys/i386/include/ |
H A D | in_cksum.h | 59 in_cksum_hdr(const struct ip *ip) argument 71 : "g" (((const u_int32_t *)ip)[0]), 72 "g" (((const u_int32_t *)ip)[1]), 73 "g" (((const u_int32_t *)ip)[2]), 74 "g" (((const u_int32_t *)ip)[3]), 75 "g" (((const u_int32_t *)ip)[4]) 86 in_cksum_update(struct ip *ip) argument 89 __tmpsum = (int)ntohs(ip [all...] |