Searched refs:ip (Results 26 - 50 of 1211) sorted by relevance

1234567891011>>

/freebsd-current/sbin/dhclient/
H A Ddhclient.c613 struct interface_info *ip = ipp; local
616 if (!ip->client->active || ip->client->active->is_bootp) {
617 state_init(ip);
622 ip->client->state = S_REBOOTING;
627 ip->client->xid = arc4random();
631 make_request(ip, ip->client->active);
632 ip->client->destination = iaddr_broadcast;
633 ip
650 struct interface_info *ip = ipp; local
675 struct interface_info *ip = ipp; local
764 struct interface_info *ip = packet->interface; local
854 bind_lease(struct interface_info *ip) argument
931 struct interface_info *ip = ipp; local
1022 struct interface_info *ip = packet->interface; local
1141 struct interface_info *ip = packet->interface; local
1235 struct interface_info *ip = packet->interface; local
1275 struct interface_info *ip = ipp; local
1375 struct interface_info *ip = ipp; local
1468 struct interface_info *ip = ipp; local
1595 struct interface_info *ip = ipp; local
1606 make_discover(struct interface_info *ip, struct client_lease *lease) argument
1719 make_request(struct interface_info *ip, struct client_lease * lease) argument
1852 make_decline(struct interface_info *ip, struct client_lease *lease) argument
1977 write_client_lease(struct interface_info *ip, struct client_lease *lease, int rewrite) argument
2080 struct interface_info *ip = ifi; local
2108 struct interface_info *ip = ifi; local
2336 struct interface_info *ip = ifi; local
[all...]
/freebsd-current/contrib/libxo/tests/core/
H A Dtest_08.c35 struct item *ip; local
74 for (ip = list; ip->i_title; ip++) {
78 ip->i_title, ip->i_count);
94 for (ip = list; ip->i_title; ip++) {
98 ip
[all...]
H A Dtest_09.c35 struct item *ip; local
73 for (ip = list; ip->i_title; ip++) {
74 xo_emit("Name: {l:name/%-10s/%s}\n", ip->i_title);
84 for (ip = list; ip->i_title; ip++) {
85 xo_emit("Name: {l:item/%-10s/%s}\n", ip->i_title);
96 for (ip
[all...]
/freebsd-current/sbin/ipf/libipf/
H A Dprintpacket.c22 ip_t *ip; local
24 ip = MTOD(m, ip_t *);
26 if (IP_V(ip) == 6) {
28 len = ntohs(((ip6_t *)ip)->ip6_plen);
30 len = ntohs(((u_short *)ip)[2]);
34 len = ntohs(ip->ip_len);
58 if (IP_V(ip) == 6) {
70 off = ntohs(ip->ip_off);
71 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) <<
[all...]
/freebsd-current/sbin/ipf/ipsend/
H A Dipsend.c18 #include <netinet/ip.h>
70 void do_icmp(ip_t *ip, char *args) argument
75 ip->ip_p = IPPROTO_ICMP;
76 ip->ip_len += sizeof(*ic);
77 ic = (struct icmp *)(ip + 1);
120 send_packets(char *dev, int mtu, ip_t *ip, struct in_addr gwip) argument
127 return (send_packet(wfd, mtu, ip, gwip));
131 udpcksum(ip_t *ip, struct udphdr *udp, int len) argument
149 ph.h.src = ip->ip_src.s_addr;
150 ph.h.dst = ip
169 ip_t *ip; local
[all...]
H A Dip.c3 * ip.c (C) 1995-1998 Darren Reed
13 #include <netinet/ip.h>
77 send_ip(int nfd, int mtu, ip_t *ip, struct in_addr gwip, int frag) argument
112 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip));
114 iplen = ip->ip_len;
115 ip->ip_len = htons(iplen);
117 if (!IP_V(ip))
118 IP_V_A(ip, IPVERSION);
119 if (!ip
235 send_tcp(int nfd, int mtu, ip_t *ip, struct in_addr gwip) argument
286 send_udp(int nfd, int mtu, ip_t *ip, struct in_addr gwip) argument
316 send_icmp(int nfd, int mtu, ip_t *ip, in_addr gwip) argument
332 ip_t *ip; variable
[all...]
H A Dresend.c16 #include <netinet/ip.h>
32 dumppacket(ip_t *ip) argument
37 t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2));
38 if (ip->ip_tos)
39 printf("tos %#x ", ip->ip_tos);
40 if (ip->ip_off & 0x3fff)
41 printf("frag @%#x ", (ip->ip_off & 0x1fff) << 3);
42 printf("len %d id %d ", ip->ip_len, ip
67 ip_t *ip; local
[all...]
/freebsd-current/sys/dev/cxgbe/cudbg/
H A Dfastlz.c184 const unsigned char *ip = (const unsigned char *) input; local
185 const unsigned char *ip_bound = ip + length - 2;
186 const unsigned char *ip_limit = ip + length - 12;
202 while (ip <= ip_bound)
203 *op++ = *ip++;
211 *hslot = ip;
216 *op++ = *ip++;
217 *op++ = *ip++;
220 while (FASTLZ_EXPECT_CONDITIONAL(ip < ip_limit)) {
228 const unsigned char *anchor = ip;
432 const unsigned char *ip = (const unsigned char *) input; local
[all...]
/freebsd-current/sys/security/mac_veriexec/
H A Dveriexec_metadata.c108 struct mac_veriexec_file_info *ip, *tip; local
110 ip = NULL;
138 LIST_FOREACH_SAFE(ip, &(lp->file_head), entries, tip) {
139 if (ip->fileid == fileid) {
140 if (ip->gen == gen)
143 LIST_REMOVE(ip, entries);
144 if (ip->label)
145 free(ip->label, M_VERIEXEC);
146 free(ip, M_VERIEXEC);
155 return (ip);
168 struct mac_veriexec_file_info *ip; local
257 struct mac_veriexec_file_info *ip, *nip; local
443 struct mac_veriexec_file_info *ip; local
509 struct mac_veriexec_file_info *ip; local
603 struct mac_veriexec_file_info *ip; local
642 struct mac_veriexec_file_info *ip; local
780 struct mac_veriexec_file_info *ip; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dumodsi3.S47 // At the time of JMP, ip := .Ldiv0block - 8 * I.
56 clz ip, r0
58 // r0 >= r1 implies clz(r0) <= clz(r1), so ip <= r3.
59 sub r3, r3, ip
61 adr ip, LOCAL_LABEL(div0block) + 1
62 sub ip, ip, r3, lsl #1
64 adr ip, LOCAL_LABEL(div0block)
66 sub ip, ip, r
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h71 extern int zpl_xattr_security_init(struct inode *ip, struct inode *dip,
79 extern int zpl_set_acl(struct user_namespace *userns, struct inode *ip,
85 extern int zpl_set_acl(struct inode *ip, struct posix_acl *acl, int type);
89 extern struct posix_acl *zpl_get_acl(struct inode *ip, int type, bool rcu);
91 extern struct posix_acl *zpl_get_acl(struct inode *ip, int type);
93 extern int zpl_init_acl(struct inode *ip, struct inode *dir);
94 extern int zpl_chmod_acl(struct inode *ip);
97 zpl_init_acl(struct inode *ip, struct inode *dir) argument
103 zpl_chmod_acl(struct inode *ip) argument
237 #define zpl_inode_timestamp_truncate(ts, ip) timestamp_truncat
[all...]
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) {
34 U32 const curr = (U32)(ip - base);
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls);
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8);
82 size_t hl0; /* the long hash at ip */
85 U32 idxl0; /* the long match index for ip */
88 const BYTE* matchl0; /* the long match for ip */
89 const BYTE* matchs0; /* the short match for ip */
92 const BYTE* ip = istart; /* the current position */ local
269 const BYTE* ip = istart; local
541 const BYTE* ip = istart; local
[all...]
/freebsd-current/stand/libsa/
H A Dip.c51 #include <netinet/ip.h>
62 struct ip *ipq_hdr;
78 struct ip *ip_hdr;
84 /* Caller must leave room for ethernet and ip headers in front!! */
89 struct ip *ip; local
104 ip = (struct ip *)pkt - 1;
105 len += sizeof(*ip);
107 bzero(ip, sizeo
147 ip_reasm_add(struct ip_reasm *ipr, void *pkt, struct ip *ip) argument
184 struct ip *ip; local
[all...]
/freebsd-current/usr.bin/lam/
H A Dlam.c74 struct openfile *ip; local
94 for (ip = input; ip->fp != NULL; ip++)
95 linep = gatherline(ip);
99 fputs(ip->sepstring, stdout);
108 struct openfile *ip = input; local
122 ip->fp = stdin;
123 else if ((ip->fp = fopen(p, "r")) == NULL) {
126 if (caph_rights_limit(fileno(ip
186 pad(struct openfile *ip) argument
200 gatherline(struct openfile *ip) argument
[all...]
/freebsd-current/lib/libc/arm/aeabi/
H A Daeabi_asm_float.S45 push {r4, r5, ip, lr}
55 mov ip, #(0)
67 mov ip, #(PCR_Z | PCR_C)
72 mov ip, #(PCR_C)
75 msr cpsr_c, ip
76 pop {r4, r5, ip, pc}
81 mov ip, r0
83 mov r1, ip
105 mov ip, #(PCR_C)
106 msr cpsr_c, ip
[all...]
H A Daeabi_asm_double.S45 push {r4, r5, r6, r7, ip, lr}
57 mov ip, #(0)
71 mov ip, #(PCR_Z | PCR_C)
76 mov ip, #(PCR_C)
79 msr cpsr_c, ip
80 pop {r4, r5, r6, r7, ip, pc}
85 mov ip, r0
87 mov r2, ip
90 mov ip, r1
92 mov r3, ip
[all...]
/freebsd-current/lib/libc/arm/string/
H A Dstrncmp.S39 /* ip == last src address to compare */
40 adds ip, r0, r2
43 movcs ip, #0
44 sub ip, ip, #1
48 cmp ip, r0
/freebsd-current/usr.bin/kdump/
H A Dkdump.c820 register_t *ip; local
823 ip = &ktr->ktr_args[0];
829 ktrsyscall_freebsd(ktr, &ip, &narg, &c,
836 ktrsyscall_linux32(ktr, &ip,
840 ktrsyscall_linux(ktr, &ip, &narg, &c);
846 print_number(ip, narg, c);
857 register_t *ip, *first; local
861 ip = first = &ktr->ktr_args[0];
891 print_integer_arg_valid(sysdecode_atfd, *ip);
893 ip
[all...]
/freebsd-current/sys/ufs/ufs/
H A Dufs_vnops.c148 struct inode *ip; local
153 ip = VTOI(vp);
154 if (UFS_RDONLY(ip))
156 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0)
160 UFS_INODE_SET_FLAG(ip, IN_LAZYMOD);
163 (ip->i_flag & (IN_CHANGE | IN_UPDATE)))
164 UFS_INODE_SET_FLAG(ip, IN_MODIFIED);
165 else if (ip->i_flag & IN_ACCESS)
166 UFS_INODE_SET_FLAG(ip, IN_LAZYACCESS);
168 if (ip
189 struct inode *ip; local
218 struct inode *ip; local
277 struct inode *ip; local
320 struct inode *ip; local
373 struct inode *ip = VTOI(vp); local
485 struct inode *ip; local
517 struct inode *ip = VTOI(vp); local
581 struct inode *ip = VTOI(vp); local
644 struct inode *ip = VTOI(vp); local
836 struct inode *ip; local
858 struct inode *ip = VTOI(vp); local
915 struct inode *ip = VTOI(vp); local
1030 struct inode *ip; local
1097 struct inode *ip; local
1137 softdep_setup_link(VTOI(tdvp), ip); local
1150 softdep_revert_link(VTOI(tdvp), ip); local
1813 struct inode *ip = VTOI(tvp); local
1891 struct inode *ip = VTOI(tvp); local
2006 struct inode *ip, *dp; local
2263 struct inode *ip, *dp; local
2365 struct inode *ip; local
2407 struct inode *ip; local
2543 struct inode *ip = VTOI(vp); local
2602 struct inode *ip = VTOI(vp); local
2748 struct inode *ip; local
2776 struct inode *ip, *pdir; local
2879 softdep_setup_create(VTOI(dvp), ip); local
2936 softdep_revert_create(VTOI(dvp), ip); local
[all...]
/freebsd-current/contrib/tcpdump/
H A Dprint-ip.c34 #include "ip.h"
92 const struct ip *ip)
98 cp = (const u_char *)(ip + 1);
99 length = IP_HL(ip) * 4;
100 if (length < sizeof(struct ip))
102 length -= sizeof(struct ip);
130 return (GET_IPV4_TO_NETWORK_ORDER(ip->ip_dst));
138 const struct ip *ip, cons
91 ip_finddst(netdissect_options *ndo, const struct ip *ip) argument
137 nextproto4_cksum(netdissect_options *ndo, const struct ip *ip, const uint8_t *data, u_int len, u_int covlen, uint8_t next_proto) argument
323 const struct ip *ip; local
[all...]
/freebsd-current/sbin/natd/samples/
H A Dnatd.test10 ipfw add divert 32000 ip from any to any via $1
11 ipfw add pass ip from any to any
/freebsd-current/sys/compat/linuxkpi/common/include/net/
H A Dtcp.h36 #include <net/ip.h>
/freebsd-current/tests/sys/netinet/
H A Dip_reass_test.c38 #include <netinet/ip.h>
54 struct ip hdr;
59 update_cksum(struct ip *ip) argument
65 ip->ip_sum = 0;
66 cksump = (uint16_t *)ip;
67 for (cksum = 0, i = 0; i < sizeof(*ip) / sizeof(*cksump); cksump++, i++)
71 ip->ip_sum = htons((uint16_t)cksum);
77 struct ip *ip; local
199 struct ip *ip; local
279 struct ip *ip; local
329 struct ip *ip; local
[all...]
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c66 ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp) argument
68 if (ip->i_fs->fs_magic == FS_UFS2_MAGIC)
69 return ffs_balloc_ufs2(ip, offset, bufsize, bpp);
71 return ffs_balloc_ufs1(ip, offset, bufsize, bpp);
75 ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, argument
82 struct fs *fs = ip->i_fs;
107 lastlbn = lblkno(fs, ip->i_ffs1_size);
110 osize = blksize(fs, ip, nb);
122 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap);
123 if (nb != 0 && ip
333 ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) {
34 U32 const current = (U32)(ip - base);
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls);
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8);
63 const BYTE* ip = istart; local
97 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart));
109 ip += (dictAndPrefixLength == 0);
111 U32 const current = (U32)(ip
370 const BYTE* ip = istart; local
[all...]

Completed in 215 milliseconds

1234567891011>>