Searched refs:ip (Results 401 - 425 of 1028) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/libucl/src/
H A Ducl_emitter_utils.c399 int *ip; local
404 ip = malloc (sizeof (fd));
405 if (ip == NULL) {
410 memcpy (ip, &fd, sizeof (fd));
416 f->ud = ip;
/freebsd-11-stable/cddl/usr.sbin/dwatch/libexec/
H A DMakefile7 ip \
26 LINKS+= ${LIBEXECDIR}/dwatch/ip ${LIBEXECDIR}/dwatch/ip-receive
27 LINKS+= ${LIBEXECDIR}/dwatch/ip ${LIBEXECDIR}/dwatch/ip-send
/freebsd-11-stable/sys/i386/i386/
H A Din_cksum.c42 #include <netinet/ip.h>
239 u_int in_cksum_hdr(const struct ip *ip) argument
241 u_int64_t sum = in_cksumdata((const u_int32_t *)ip, sizeof(struct ip));
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c539 struct icl_pdu *ip; local
544 ip = icl_cxgbei_new_pdu(M_NOWAIT);
545 if (ip == NULL)
547 icp = ip_to_icp(ip);
548 bcopy(mtod(m, caddr_t) + sizeof(*cpl), icp->ip.ip_bhs, sizeof(struct
580 MPASS(icp->ip.ip_data_mbuf == NULL);
581 MPASS(icp->ip.ip_data_len == 0);
586 icp->ip.ip_data_mbuf = m;
587 icp->ip.ip_data_len = m->m_pkthdr.len;
611 struct icl_pdu *ip; local
877 struct icl_pdu *ip; local
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_l2t.c320 char ip[INET6_ADDRSTRLEN]; local
345 ip[0] = 0;
348 &ip[0], sizeof(ip));
356 e->idx, ip, e->dmac[0], e->dmac[1], e->dmac[2],
/freebsd-11-stable/sys/netinet/
H A Dsctp_header.h563 sizeof(struct ip))
567 sizeof(struct ip))
570 #define SCTP_MIN_OVERHEAD (sizeof(struct ip) + \
578 sizeof(struct ip))
580 #define SCTP_MIN_V4_OVERHEAD (sizeof(struct ip) + \
H A Dtcp_syncache.c72 #include <netinet/ip.h>
1646 struct ip *ip = NULL; local
1659 sizeof(struct ip);
1702 ip = mtod(m, struct ip *);
1703 ip->ip_v = IPVERSION;
1704 ip->ip_hl = sizeof(struct ip) >> 2;
1705 ip
[all...]
H A Dtcp_output.c61 #include <netinet/ip.h>
189 struct ip *ip = NULL; local
541 * IPv4 handling has a clear separation of ip options and ip header
543 * the right thing below to provide length of just ip options and thus
544 * checking for ipoptlen is enough to decide if ip options are present.
1128 ip = mtod(m, struct ip *);
1129 ipov = (struct ipovly *)ip;
[all...]
/freebsd-11-stable/sys/net/
H A Dif_bridge.c117 #include <netinet/ip.h>
609 * pfil_member. Also allow non-ip packets as ipfw can filter by
3106 struct ip *ip; local
3171 * Check to see if the user wants to pass non-ip
3267 /* Recalculate the ip checksum. */
3268 ip = mtod(*mp, struct ip *);
3269 hlen = ip->ip_hl << 2;
3270 if (hlen < sizeof(struct ip))
3358 struct ip *ip; local
3507 struct ip *ip; local
[all...]
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt-gen.c56 #include <netinet/ip.h>
205 struct ip ip; member in struct:pkt::__anon5534::__anon5535
210 struct ip6_hdr ip; member in struct:pkt::__anon5534::__anon5536
721 /* Compute the checksum of the given ip header. */
800 struct ip ip; local
806 memcpy(&ip, &pkt->ipv4.ip, sizeof(ip));
998 struct ip ip; local
[all...]
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom.c56 #include <netinet/ip.h>
550 mtu = mss + sizeof(struct ip) + sizeof(struct tcphdr);
840 max(sizeof(struct ip), sizeof(struct ip6_hdr)) +
890 struct ip *ip = (void *)&pkt[len]; local
892 ip->ip_v = IPVERSION;
893 ip->ip_hl = sizeof(*ip) >> 2;
894 ip->ip_tos = inp->inp_ip_tos;
895 ip
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpimport.c158 struct input *ip; local
160 ip = xalloc(sizeof(*ip));
161 ip->fp = fp;
162 ip->lno = 1;
163 ip->fname = savestr(fname);
164 ip->path = savestr(path);
165 LIST_INSERT_HEAD(&inputs, ip, link);
167 input = ip;
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_alt.c158 p = gen->d.ip->data;
159 if (gen->d.ip->length == 4)
162 else if (gen->d.ip->length == 16) {
228 p = gen->d.ip->data;
229 if (gen->d.ip->length == 4)
231 else if (gen->d.ip->length == 16) {
485 gen->d.ip = a2i_IPADDRESS_NC(value);
487 gen->d.ip = a2i_IPADDRESS(value);
488 if (gen->d.ip == NULL) {
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_pptp_pxy.c120 ip_t *ip; local
125 ip = fin->fin_ip;
130 ip->ip_dst) != NULL) {
204 ip_t *ip; local
206 ip = fin->fin_ip;
207 p = ip->ip_p;
223 ip = fin->fin_ip;
224 ip->ip_p = IPPROTO_GRE;
271 ip->ip_p = p;
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c957 ng_l2cap_l2ca_ping_ip *ip = NULL; local
967 NGM_L2CAP_L2CA_PING, sizeof(*ip) + p->echo_size,
977 ip = (ng_l2cap_l2ca_ping_ip *)(msg->data);
978 bcopy(&pcb->dst, &ip->bdaddr, sizeof(ip->bdaddr));
979 ip->echo_size = p->echo_size;
981 if (ip->echo_size > 0) {
982 error = copyin(p->echo_data, ip + 1, p->echo_size);
1023 ng_l2cap_l2ca_get_info_ip *ip = NULL; local
1037 NGM_L2CAP_L2CA_GET_INFO, sizeof(*ip)
[all...]
/freebsd-11-stable/lib/libfetch/
H A Dcommon.c594 * Compare ip address in addrinfo with address passes.
616 * Compare ip address in addrinfo with host passed. If host is not an IP
654 const char *host, struct addrinfo *ip)
678 if (name->type == GEN_DNS && ip == NULL &&
681 else if (name->type == GEN_IPADD && ip != NULL &&
682 fetch_ssl_ipaddr_match_bin(ip, ns, nslen))
693 struct addrinfo *ip)
713 if (ip == NULL &&
716 else if (ip != NULL && fetch_ssl_ipaddr_match(ip, c
692 fetch_ssl_verify_cn(X509_NAME *subject, const char *host, struct addrinfo *ip) argument
732 struct addrinfo *ip; local
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_dn_io.c55 #include <netinet/ip.h> /* ip_len, ip_off */
433 struct ip *ip; local
434 ip = (struct ip *)mtodo(m, dn_tag_get(m)->iphdr_off);
436 switch (ip->ip_v) {
441 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_NOTECT)
443 if ((ip->ip_tos & IPTOS_ECN_MASK) == IPTOS_ECN_CE)
450 old = *(uint16_t *)ip;
451 ip
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-dlpi.c1611 register dl_hp_ppa_info_t *ipstart, *ip; local
1705 ip = ipstart;
1722 if ((strcmp((const char *)ip->dl_module_id_1, device) == 0 ||
1723 strcmp((const char *)ip->dl_module_id_2, device) == 0) &&
1724 ip->dl_instance_num == unit)
1727 ip = (dl_hp_ppa_info_t *)((u_char *)ipstart + ip->dl_next_offset);
1761 ip = ipstart;
1764 if (ip->dl_mjr_num == majdev &&
1765 ip
[all...]
/freebsd-11-stable/sys/netipsec/
H A Dxform_ah.c58 #include <netinet/ip.h>
283 struct ip *ip; local
307 ip = mtod(m, struct ip *);
309 ip->ip_tos = 0;
310 ip->ip_ttl = 0;
311 ip->ip_sum = 0;
314 ip->ip_off &= htons(IP_DF);
316 ip
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dradius.c39 #include <netinet/ip.h>
79 #include "ip.h"
261 struct in_addr ip; local
332 r->ip.s_addr = r->mask.s_addr = INADDR_NONE;
338 r->ip = rad_cvt_addr(data);
340 " IP %s\n", inet_ntoa(r->ip));
404 ip.s_addr = INADDR_ANY;
405 ncpaddr_setip4(&gw, ip);
406 ncprange_setip4host(&dest, ip);
423 ncprange_getip4addr(&dest, &ip);
[all...]
/freebsd-11-stable/contrib/gcc/config/arm/
H A Dcrti.asm55 mov ip, sp
56 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
57 sub fp, ip, #4
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_smedia.c115 #include <netinet/ip.h>
132 AliasHandleRtspOut(struct libalias *, struct ip *, struct alias_link *,
153 protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah)
235 alias_rtsp_out(struct libalias *la, struct ip *pip,
431 alias_pna_out(struct libalias *la, struct ip *pip,
482 AliasHandleRtspOut(struct libalias *la, struct ip *pip, struct alias_link *lnk, int maxpacketsize)
/freebsd-11-stable/sys/kern/
H A Dmd5c.c63 uint32_t ip; local
66 ip = input[i];
67 *output++ = ip;
68 *output++ = ip >> 8;
69 *output++ = ip >> 16;
70 *output++ = ip >> 24;
/freebsd-11-stable/usr.sbin/rrenumd/
H A Drrenumd.c45 #include <netinet/ip.h>
501 i -= sizeof(struct ip);
508 struct ip *ip = (struct ip *)rcvmhdr.msg_iov->iov_base; local
510 rr = (struct icmp6_router_renum *)(ip + 1);
/freebsd-11-stable/sys/arm/arm/
H A Dgenassym.c57 #include <netinet/ip.h>
96 ASSYM(IP_SRC, offsetof(struct ip, ip_src));
97 ASSYM(IP_DST, offsetof(struct ip, ip_dst));

Completed in 323 milliseconds

<<11121314151617181920>>