/freebsd-current/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 57 #include <netinet/ip.h> 181 struct ip *ip4; 185 ip4 = mtod(m, struct ip *); 233 struct ip *ip4; 236 ip4 = mtod(m, struct ip *); 489 nat64_cksum_convert(struct ip6_hdr *ip6, struct ip *ip) argument 494 sum = ~ip->ip_src.s_addr >> 16; 495 sum += ~ip->ip_src.s_addr & 0xffff; 496 sum += ~ip 509 nat64_init_ip4hdr(const struct ip6_hdr *ip6, const struct ip6_frag *frag, uint16_t plen, uint8_t proto, struct ip *ip) argument 793 struct ip *ip, *oip; local 901 struct ip ip; local 1230 struct ip *ip; local 1340 struct ip ip; local 1561 struct ip ip; local [all...] |
/freebsd-current/sbin/restore/ |
H A D | restore.c | 201 struct entry *ep, *np, *ip; local 227 ip = lookupino(np->e_ino); 228 if (ip == NULL) 230 if (ip != np) 237 ip = lookupino(ino); 238 if (ip != NULL) { 240 for (ep = ip->e_links; ep != NULL; ep = ep->e_links) { 242 ip = ep; 260 if (((key & (INOFND|NAMEFND)) == (INOFND|NAMEFND)) && ip != np) { 273 (((key & INOFND) && ip [all...] |
/freebsd-current/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.c | 66 ng_l2cap_l2ca_con_ip *ip = NULL; local 73 if (msg->header.arglen != sizeof(*ip)) { 82 ip = (ng_l2cap_l2ca_con_ip *)(msg->data); 85 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); 88 error = ng_l2cap_lp_con_req(l2cap, &ip->bdaddr,ip->linktype); 97 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); 107 ch = ng_l2cap_new_chan(l2cap, con, ip 225 ng_l2cap_l2ca_con_rsp_ip *ip = NULL; local 433 ng_l2cap_l2ca_con_ind_ip *ip = NULL; local 473 ng_l2cap_l2ca_cfg_ip *ip = NULL; local 645 ng_l2cap_l2ca_cfg_rsp_ip *ip = NULL; local 797 ng_l2cap_l2ca_cfg_ind_ip *ip = NULL; local 1184 ng_l2cap_l2ca_qos_ind_ip *ip = NULL; local 1218 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-current/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 32 #include <netinet/ip.h> 104 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { argument 152 strcpy(ip, inet_ntoa(s_in.sin_addr)); 160 char* ip, char* ttl, unsigned short *port) { 162 struct ip* iph; 168 iph = (struct ip*) buf; 176 strcpy(ip, inet_ntoa(iph->ip_src)); 208 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) { argument 220 inet_aton(ip, &tmp_dst); 229 struct ip* ip 312 char ip[16] = "\\x00"; local [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 74 struct inode *ip; local 79 ip = VTOI(vp); 80 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 82 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); 83 fs = ip->i_e2fs; 86 if ((error = bread(ip->i_devvp, 87 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 92 error = ext2_i2ei(ip, (struct ext2fs_dinode *)((char *)bp->b_data + 93 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number))); 111 * Release blocks associated with the inode ip an 120 ext2_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t lastbn, int level, e4fs_daddr_t *countp) argument 558 struct inode *ip; local 599 struct inode *ip = VTOI(vp); local 635 struct inode *ip; local [all...] |
H A D | ext2_acl.h | 49 void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
|
/freebsd-current/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-current/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-current/sys/contrib/dpdk_rte_lpm/ |
H A D | dpdk_lpm6.h | 54 rte_lpm6_add(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
|
/freebsd-current/sbin/ipf/ipresend/ |
H A D | Makefile | 4 SRCS= ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
|
/freebsd-current/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.h | 88 struct icl_pdu ip; member in struct:icl_cxgbei_pdu 101 ip_to_icp(struct icl_pdu *ip) argument 104 return (__containerof(ip, struct icl_cxgbei_pdu, ip));
|
H A D | icl_cxgbei.c | 173 icl_cxgbei_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument 175 struct icl_cxgbei_pdu *icp = ip_to_icp(ip); 179 MPASS(ic == ip->ip_conn); 181 m_freem(ip->ip_ahs_mbuf); 182 m_freem(ip->ip_data_mbuf); 183 m_freem(ip->ip_bhs_mbuf); 199 icl_cxgbei_pdu_call_cb(struct icl_pdu *ip) argument 201 struct icl_cxgbei_pdu *icp = ip_to_icp(ip); 206 icp->cb(ip, icp->error); 208 if (__predict_true(ip 215 icl_cxgbei_pdu_done(struct icl_pdu *ip, int error) argument 257 struct icl_pdu *ip; local 284 icl_cxgbei_new_pdu_set_conn(struct icl_pdu *ip, struct icl_conn *ic) argument 299 struct icl_pdu *ip; local 334 struct icl_pdu *ip = &icp->ip; local 437 struct icl_pdu *ip; local 503 struct icl_pdu *ip; local 619 icl_cxgbei_conn_pdu_append_bio(struct icl_conn *ic, struct icl_pdu *ip, struct bio *bp, size_t offset, size_t len, int flags) argument 742 icl_cxgbei_conn_pdu_append_data(struct icl_conn *ic, struct icl_pdu *ip, const void *addr, size_t len, int flags) argument 808 icl_cxgbei_conn_pdu_get_bio(struct icl_conn *ic, struct icl_pdu *ip, size_t pdu_off, struct bio *bp, size_t bio_off, size_t len) argument 850 icl_cxgbei_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument 861 icl_cxgbei_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument 867 icl_cxgbei_conn_pdu_queue_cb(struct icl_conn *ic, struct icl_pdu *ip, icl_pdu_cb cb) argument 1232 struct icl_pdu *ip; local 1407 icl_cxgbei_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *ittp, void **arg) argument 1568 icl_cxgbei_conn_transfer_setup(struct icl_conn *ic, struct icl_pdu *ip, union ctl_io *io, uint32_t *tttp, void **arg) argument [all...] |
/freebsd-current/usr.bin/finger/ |
H A D | finger.c | 265 int r, sflag1, *used, *ip; local 293 for (p = argv, ip = used; *p; ++p, ++ip) 295 *ip = 1; 330 for (p = argv, ip = used; *p; ++p, ++ip) { 331 if (**p != '/' || *ip == 1 || !show_text("", *p, "")) { 334 else if (!*ip) 340 for (p = argv, ip = used; *p; ++p, ++ip) [all...] |
/freebsd-current/sys/netinet/ |
H A D | raw_ip.c | 71 #include <netinet/ip.h> 120 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, 202 rip_append(struct inpcb *inp, struct ip *ip, struct mbuf *m, argument 220 if (inp->inp_ip_minttl && inp->inp_ip_minttl > ip->ip_ttl) 228 ip_savecontrol(inp, &opts, ip, n); 244 struct ip *ip; member in struct:rip_inp_match_ctx 260 if (inp->inp_laddr.s_addr != ctx->ip->ip_dst.s_addr) 262 if (inp->inp_faddr.s_addr != ctx->ip 408 struct ip *ip; local [all...] |
H A D | ip_icmp.c | 60 #include <netinet/ip.h> 207 * in response to bad packet ip. 212 struct ip *oip, *nip; 235 if (n->m_len < sizeof(struct ip) + ICMP_MINLEN) 237 oip = mtod(n, struct ip *); 270 oip = mtod(n, struct ip *); 282 oip = mtod(n, struct ip *); 297 oip = mtod(n, struct ip *); 310 oip = mtod(n, struct ip *); 324 if (icmplen < sizeof(struct ip)) 463 struct ip *ip = mtod(m, struct ip *); local 778 struct ip *ip = mtod(m, struct ip *); local 1009 struct ip *ip = mtod(m, struct ip *); local [all...] |
/freebsd-current/libexec/rc/rc.d/ |
H A D | netwait | 30 local ip rc count output link wait_if got_if any_error 84 for ip in ${netwait_ip}; do 85 echo -n "Waiting for ${ip} to respond to ICMP ping" 89 /sbin/ping -t 1 -c 1 -o ${ip} >/dev/null 2>&1
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 47 #include <netinet/ip.h> 77 extern int ip_optcopy(struct ip *, struct ip *); 129 struct ip *ip = mtod(*mp, struct ip *); local 133 rv = ipf_check(&V_ipfmain, ip, ip->ip_hl << 2, ifp, 149 rv = ipf_check(&V_ipfmain, mtod(*mp, struct ip *), 341 ip_t *ip; local 432 ip_t *ip, *oip; local 502 ip_t *ip, *ip2; local 674 register struct ip *ip, *mhip; local 1024 ip_t *ip; local 1182 ip_t *ip; local [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-sunrpc.c | 60 #include "ip.h" 133 * The service supports remote procedure calls on udp/ip or tcp/ip socket 111. 162 const struct ip *ip; local 181 switch (IP_V((const struct ip *)bp2)) { 183 ip = (const struct ip *)bp2; 185 GET_IPADDR_STRING(ip->ip_src), srcid, 186 GET_IPADDR_STRING(ip [all...] |
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_insn.c | 175 uint64_t ip; local 180 ip = insn->ip + insn->size; 190 ip += (uint64_t) (int64_t) 204 *pip = ip; 248 insn->ip + isize); 319 asid, insn->ip); 355 insn.ip = begin; 357 while (insn.ip != end) { 367 errcode = pt_insn_next_ip(&insn.ip, [all...] |
/freebsd-current/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_fletcher_superscalar.c | 75 const uint32_t *ip = buf; local 76 const uint32_t *ipend = ip + (size / sizeof (uint32_t)); 90 a += ip[0]; 91 a2 += ip[1]; 98 } while ((ip += 2) < ipend); 114 const uint32_t *ip = buf; local 115 const uint32_t *ipend = ip + (size / sizeof (uint32_t)); 129 a += BSWAP_32(ip[0]); 130 a2 += BSWAP_32(ip[1]); 137 } while ((ip [all...] |
/freebsd-current/sys/fs/cd9660/ |
H A D | cd9660_vnops.c | 121 struct iso_node *ip = VTOI(vp); local 147 file_mode = ip->inode.iso_mode; 148 file_mode &= (vp->v_type == VDIR) ? ip->i_mnt->im_dmask : ip->i_mnt->im_fmask; 150 uid = (ip->i_mnt->im_flags & ISOFSMNT_UID) ? 151 ip->i_mnt->im_uid : ip->inode.iso_uid; 152 gid = (ip->i_mnt->im_flags & ISOFSMNT_GID) ? 153 ip->i_mnt->im_gid : ip 163 struct iso_node *ip = VTOI(vp); local 178 struct iso_node *ip = VTOI(vp); local 236 struct iso_node *ip; local 274 struct iso_node *ip = VTOI(vp); local 622 ISONODE *ip; local 710 struct iso_node *ip; local 768 struct iso_node *ip = VTOI(ap->a_vp); local 805 struct iso_node *ip; local [all...] |
/freebsd-current/tests/sys/netpfil/pf/ |
H A D | pfsync_defer.py | 46 ip = packet.getlayer(sp.IP) 47 if not ip: 50 if ip.proto != 240: 80 ip = sp.IP(dst="203.0.113.2", src="198.51.100.2") 84 req = ether / ip / icmp / raw
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_ldm.c | 228 ldmState_t* state, const BYTE* ip, 232 if ((size_t)(iend - ip) >= params->minMatchLength) { 233 U64 startingHash = ZSTD_rollingHash_compute(ip, params->minMatchLength); 235 state, startingHash, ip, iend - params->minMatchLength, state->window.base, 282 BYTE const* ip = istart; local 287 while (ip <= ilimit) { 289 U32 const current = (U32)(ip - base); 292 if (ip != istart) { 297 rollingHash = ZSTD_rollingHash_compute(ip, minMatchLength); 299 lastHashed = ip; 227 ZSTD_ldm_fillHashTable( ldmState_t* state, const BYTE* ip, const BYTE* iend, ldmParams_t const* params) argument 577 BYTE const* ip = istart; local [all...] |
/freebsd-current/sys/netipsec/ |
H A D | ipsec_output.c | 56 #include <netinet/ip.h> 119 struct ip *ip; local 143 ip = mtod(m, struct ip *); 149 sin->sin_addr = ip->ip_src; 156 sin->sin_addr = ip->ip_dst; 195 struct ip *ip; local 224 ip 302 struct ip *ip; local 406 struct ip *ip; local 643 struct ip *ip; local 1084 struct ip *ip; local [all...] |
/freebsd-current/sys/netgraph/ |
H A D | ng_vjc.c | 63 #include <netinet/ip.h> 80 hook_p ip; member in struct:ng_vjc_private 117 like to use a 'struct ip' type instead of a simple array of bytes. */ 266 hookp = &priv->ip; 404 if (hook == priv->ip) { /* outgoing packet */ 409 struct ip *ip; local 415 ip = mtod(m, struct ip *); 416 if (ip 591 struct ip *ip; local [all...] |