Searched refs:ip (Results 126 - 150 of 1028) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c54 #include <netinet/ip.h>
154 struct ip *ip4;
158 ip4 = mtod(m, struct ip *);
203 struct ip *ip4;
206 ip4 = mtod(m, struct ip *);
459 nat64_cksum_convert(struct ip6_hdr *ip6, struct ip *ip) argument
464 sum = ~ip->ip_src.s_addr >> 16;
465 sum += ~ip->ip_src.s_addr & 0xffff;
466 sum += ~ip
479 nat64_init_ip4hdr(const struct ip6_hdr *ip6, const struct ip6_frag *frag, uint16_t plen, uint8_t proto, struct ip *ip) argument
739 struct ip *ip, *oip; local
847 struct ip ip; local
1176 struct ip *ip; local
1286 struct ip ip; local
1507 struct ip ip; local
[all...]
/freebsd-11-stable/sbin/restore/
H A Drestore.c208 struct entry *ep, *np, *ip; local
234 ip = lookupino(np->e_ino);
235 if (ip == NULL)
237 if (ip != np)
244 ip = lookupino(ino);
245 if (ip != NULL) {
247 for (ep = ip->e_links; ep != NULL; ep = ep->e_links) {
249 ip = ep;
267 if (((key & (INOFND|NAMEFND)) == (INOFND|NAMEFND)) && ip != np) {
280 (((key & INOFND) && ip
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_ulpi.c65 ng_l2cap_l2ca_con_ip *ip = NULL; local
72 if (msg->header.arglen != sizeof(*ip)) {
81 ip = (ng_l2cap_l2ca_con_ip *)(msg->data);
84 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype);
87 error = ng_l2cap_lp_con_req(l2cap, &ip->bdaddr,ip->linktype);
96 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype);
106 ch = ng_l2cap_new_chan(l2cap, con, ip
224 ng_l2cap_l2ca_con_rsp_ip *ip = NULL; local
432 ng_l2cap_l2ca_con_ind_ip *ip = NULL; local
472 ng_l2cap_l2ca_cfg_ip *ip = NULL; local
644 ng_l2cap_l2ca_cfg_rsp_ip *ip = NULL; local
796 ng_l2cap_l2ca_cfg_ind_ip *ip = NULL; local
1183 ng_l2cap_l2ca_qos_ind_ip *ip = NULL; local
1217 ng_l2cap_l2ca_discon_ip *ip = NULL; local
1372 ng_l2cap_l2ca_discon_ind_ip *ip = NULL; local
1479 ng_l2cap_l2ca_ping_ip *ip = NULL; local
1608 ng_l2cap_l2ca_get_info_ip *ip = NULL; local
1729 ng_l2cap_l2ca_enable_clt_ip *ip = NULL; local
[all...]
/freebsd-11-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c34 #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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java188 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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh28 # Test ip:::{send,receive} of IPv4 UDP to a local address.
32 # 1. A change to the ip stack breaking expected probe behavior,
42 # 1 x ip:::send (UDP sent to ping's base UDP port)
44 # 1 x ip:::receive (UDP received)
66 ip:::send
79 ip:::receive
89 printf("ip:::send - %s\n", ipsend >= 1 ? "yes" : "no");
90 printf("ip:::receive - %s\n", ipreceive >= 1 ? "yes" : "no");
/freebsd-11-stable/contrib/gcc/config/arm/
H A Dbpabi.S45 subs ip, xxl, yyl
46 sbcs ip, xxh, yyh
47 subeqs ip, xxl, yyl
48 mov r0, ip
H A Dlibunwind-arm.S54 /* Restore pc into ip. */
60 /* Don't bother restoring ip. */
64 ldmfd sp, {ip, sp, lr}
65 bx ip
101 stmfd sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip}
111 adr ip, .L1_\name
112 orr ip, ip, #1
113 bx ip
H A Dieee754-sf.S76 mvnnes ip, r2, asr #24
77 mvnnes ip, r3, asr #24
167 movs ip, r0, lsr #12
185 clz ip, r0
186 sub ip, ip, #8
187 subs r2, r2, ip
188 mov r0, r0, lsl ip
213 mvns ip, r2, asr #24
214 mvnnes ip, r
[all...]
/freebsd-11-stable/etc/rc.d/
H A Dnetwait32 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-11-stable/usr.bin/finger/
H A Dfinger.c278 int r, sflag1, *used, *ip; local
306 for (p = argv, ip = used; *p; ++p, ++ip)
308 *ip = 1;
343 for (p = argv, ip = used; *p; ++p, ++ip) {
344 if (**p != '/' || *ip == 1 || !show_text("", *p, "")) {
347 else if (!*ip)
353 for (p = argv, ip = used; *p; ++p, ++ip)
[all...]
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_acl.h49 void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
H A Dext2_alloc.c83 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, argument
92 fs = ip->i_e2fs;
93 ump = ip->i_ump;
97 vn_printf(ip->i_devvp, "bsize = %lu, size = %d, fs = %s\n",
112 cg = ino_to_cg(fs, ip->i_number);
115 bno = (daddr_t)ext2_hashalloc(ip, cg, bpref, fs->e2fs_bsize,
119 ip->i_next_alloc_block = lbn;
120 ip->i_next_alloc_goal = bno;
122 ip->i_blocks += btodb(fs->e2fs_bsize);
123 ip
138 ext2_allocfacl(struct inode *ip) argument
183 struct inode *ip; local
375 struct inode *ip; local
575 ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap, e2fs_daddr_t blocknr) argument
617 ext2_hashalloc(struct inode *ip, int cg, long pref, int size, daddr_t (*allocator) (struct inode *, int, daddr_t, int)) argument
796 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument
935 ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) argument
1040 ext2_zero_inode_table(struct inode *ip, int cg) argument
1081 ext2_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) argument
1169 ext2_blkfree(struct inode *ip, e4fs_daddr_t bno, long size) argument
[all...]
/freebsd-11-stable/sbin/ipf/ipresend/
H A DMakefile5 SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
/freebsd-11-stable/stand/i386/kgzldr/
H A Dboot.c59 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++;
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-sunrpc.c59 #include "ip.h"
132 * The service supports remote procedure calls on udp/ip or tcp/ip socket 111.
172 register const struct ip *ip; local
189 switch (IP_V((const struct ip *)bp2)) {
191 ip = (const struct ip *)bp2;
193 ipaddr_string(ndo, &ip->ip_src), srcid,
194 ipaddr_string(ndo, &ip
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dunwind-c.c129 _Unwind_Ptr landing_pad, ip; local
140 ip = (_Unwind_Ptr) ue_header;
141 _Unwind_SetGR (context, 12, ip);
161 ip = _Unwind_GetIPInfo (context, &ip_before_insn);
163 ip = _Unwind_GetIP (context);
166 --ip;
174 if ((int) ip <= 0)
184 while (--ip);
206 /* The table is sorted, so if we've passed the ip, stop. */
207 if (ip < inf
[all...]
/freebsd-11-stable/sys/netinet/
H A Dip_gre.c60 #include <netinet/ip.h>
94 struct ip *ip; local
105 if (m->m_pkthdr.len < sizeof(struct greip) + sizeof(struct ip))
115 ip = mtod(m, struct ip *);
116 if (sc->gre_oip.ip_src.s_addr != ip->ip_dst.s_addr ||
117 sc->gre_oip.ip_dst.s_addr != ip->ip_src.s_addr)
140 m_copydata(m, hlen + offsetof(struct ip, ip_tos),
142 m_copydata(m, hlen + offsetof(struct ip, ip_i
[all...]
H A Dip_icmp.c60 #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...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_gjournal.c61 struct inode *ip; local
67 ip = VTOI(vp);
71 ino = ip->i_number;
112 struct inode *ip; local
118 ip = VTOI(vp);
119 if ((vp->v_type == VDIR && ip->i_nlink > 2) ||
120 (vp->v_type != VDIR && ip->i_nlink > 1)) {
131 struct inode *ip; local
137 ip = VTOI(vp);
138 if (ip
[all...]
H A Dufs_dirhash.c103 static void ufsdirhash_free_locked(struct inode *ip);
188 ufsdirhash_create(struct inode *ip) argument
196 vp = ip->i_vnode;
200 if (ip->i_dirhash == NULL && ndh == NULL) {
223 dh = ip->i_dirhash;
225 ip->i_dirhash = ndh;
242 if (ip->i_dirhash != dh) {
278 ufsdirhash_acquire(struct inode *ip) argument
282 ASSERT_VOP_ELOCKED(ip->i_vnode, __FUNCTION__);
284 dh = ip
299 ufsdirhash_free(struct inode *ip) argument
343 ufsdirhash_build(struct inode *ip) argument
481 ufsdirhash_free_locked(struct inode *ip) argument
549 ufsdirhash_lookup(struct inode *ip, char *name, int namelen, doff_t *offp, struct buf **bpp, doff_t *prevoffp) argument
703 ufsdirhash_findfree(struct inode *ip, int slotneeded, int *slotsize) argument
778 ufsdirhash_enduseful(struct inode *ip) argument
805 ufsdirhash_add(struct inode *ip, struct direct *dirp, doff_t offset) argument
846 ufsdirhash_remove(struct inode *ip, struct direct *dirp, doff_t offset) argument
872 ufsdirhash_move(struct inode *ip, struct direct *dirp, doff_t oldoff, doff_t newoff) argument
895 ufsdirhash_newblk(struct inode *ip, doff_t offset) argument
924 ufsdirhash_dirtrunc(struct inode *ip, doff_t offset) argument
973 ufsdirhash_checkblock(struct inode *ip, char *buf, doff_t offset) argument
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_ipfw.c52 #include <netinet/ip.h>
234 struct ip *ip; local
245 if (m->m_len < sizeof(struct ip) &&
246 (m = m_pullup(m, sizeof(struct ip))) == NULL)
249 ip = mtod(m, struct ip *);
253 switch (ip->ip_v) {
266 switch (ip->ip_v) {
289 struct ip *i local
[all...]
H A Dng_vjc.c65 #include <netinet/ip.h>
82 hook_p ip; member in struct:ng_vjc_private
119 like to use a 'struct ip' type instead of a simple array of bytes. */
268 hookp = &priv->ip;
406 if (hook == priv->ip) { /* outgoing packet */
411 struct ip *ip; local
417 ip = mtod(m, struct ip *);
418 if (ip
593 struct ip *ip; local
[all...]
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c151 icl_cxgbei_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument
154 struct icl_cxgbei_pdu *icp = ip_to_icp(ip);
158 MPASS(ic == ip->ip_conn);
159 MPASS(ip->ip_bhs_mbuf != NULL);
161 m_freem(ip->ip_ahs_mbuf);
162 m_freem(ip->ip_data_mbuf);
163 m_freem(ip->ip_bhs_mbuf); /* storage for icl_cxgbei_pdu itself */
175 struct icl_pdu *ip; local
188 ip = &icp->ip;
208 icl_cxgbei_new_pdu_set_conn(struct icl_pdu *ip, struct icl_conn *ic) argument
223 struct icl_pdu *ip; local
264 struct icl_pdu *ip = &icp->ip; local
319 icl_cxgbei_conn_pdu_append_data(struct icl_conn *ic, struct icl_pdu *ip, const void *addr, size_t len, int flags) argument
354 icl_cxgbei_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument
365 icl_cxgbei_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument
708 struct icl_pdu *ip; local
782 icl_cxgbei_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *task_tagp, void **prvp) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c143 char buf[IP_MAXPACKET - sizeof(struct ip)];
326 struct ip *ip; local
385 ip = (struct ip *)data;
386 ip->ip_v = 4;
387 ip->ip_hl = sizeof(*ip) >> 2;
388 ip->ip_p = IPPROTO_ICMP;
389 ip
[all...]

Completed in 211 milliseconds

1234567891011>>