Searched refs:ip (Results 276 - 300 of 718) sorted by relevance

<<11121314151617181920>>

/openbsd-current/usr.sbin/dvmrpd/
H A Dpacket.c24 #include <netinet/ip.h>
40 int ip_hdr_sanity_check(const struct ip *, u_int16_t);
41 int dvmrp_hdr_sanity_check(const struct ip *, struct dvmrp_hdr *,
105 struct ip ip_hdr;
145 log_debug("recv_packet: cannot find valid interface, ip src %s",
248 ip_hdr_sanity_check(const struct ip *ip_hdr, u_int16_t len)
264 dvmrp_hdr_sanity_check(const struct ip *ip_hdr, struct dvmrp_hdr *dvmrp_hdr,
/openbsd-current/regress/sys/netinet6/frag6/
H A DMakefile104 # Ping all addresses. This ensures that the ip addresses are configured
109 .for ip in LOCAL_ADDR REMOTE_ADDR
110 @echo Check ping6 ${ip}6:
111 ping6 -n -c 1 ${${ip}6}
119 .for ip in LOCAL_ADDR REMOTE_ADDR
120 @echo Check ping6 ${ip}6:
121 ping6 -n -c 1 -s 5000 -m ${${ip}6}
/openbsd-current/sys/lib/libkern/arch/arm/
H A Ddivsi3.S61 mov ip, #0
64 orr ip, ip, #0x20000000 /* ip bit 0x20000000 = -ve r1 */
66 orrcs ip, ip, #0x10000000 /* ip bit 0x10000000 = bit 0 of r1 */
83 ands ip, r0, #0x80000000
86 eor ip, ip, r
[all...]
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-ike.c481 struct id_payload *ip = (struct id_payload *)buf; local
496 if (ip->id_data[0] | ip->id_data[1] | ip->id_data[2])
497 printf(" proto: %d port: %d", ip->id_data[0],
498 (ip->id_data[1] << 8) + ip->id_data[2]);
500 printf(" type: %s = ", ip->type < (sizeof idtypes/sizeof idtypes[0]) ?
501 idtypes[ip->type] : "<unknown>");
503 switch (ip
[all...]
/openbsd-current/lib/libc/arch/arm/gen/
H A Ddivsi3.S63 mov ip, #0
66 orr ip, ip, #0x20000000 /* ip bit 0x20000000 = -ve r1 */
68 orrcs ip, ip, #0x10000000 /* ip bit 0x10000000 = bit 0 of r1 */
86 ands ip, r0, #0x80000000
89 eor ip, ip, r
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dconfigparser.y52 struct ip_address_option *ip;
63 %type <ip> ip_address
256 struct ip_address_option *ip = cfg_parser->opt->ip_addresses;
258 if(ip == NULL) {
261 while(ip->next) { ip = ip->next; }
262 ip->next = $2;
265 cfg_parser->ip = $2;
269 cfg_parser->ip
[all...]
/openbsd-current/sys/netinet/
H A Dtcp_output.c90 #include <netinet/ip.h>
504 hdrlen = sizeof(struct ip) + sizeof(struct tcphdr);
895 iphlen = sizeof(struct ip);
898 src.sin.sin_addr = mtod(m, struct ip *)->ip_src;
901 dst.sin.sin_addr = mtod(m, struct ip *)->ip_dst;
1074 struct ip *ip; local
1076 ip = mtod(m, struct ip *);
1077 ip
1199 struct ip *ip = NULL; local
[all...]
H A Dipsec_input.c57 #include <netinet/ip.h>
253 m_copydata(m, offsetof(struct ip, ip_dst),
369 struct ip *ip; local
395 ip = mtod(m, struct ip *);
396 ip->ip_len = htons(m->m_pkthdr.len);
398 prot = ip->ip_p;
876 struct ip *ip local
914 struct ip *ip = v; local
[all...]
H A Dip_mroute.c73 #include <netinet/ip.h>
1070 * pointed to by "ip" has arrived on (or is about to be sent to) the interface
1085 struct ip *ip = mtod(m, struct ip *); local
1092 if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 ||
1093 ((u_char *)(ip + 1))[1] != IPOPT_LSRR) {
1105 "packet from %x\n", ntohl(ip->ip_src.s_addr));
1113 if (ip->ip_ttl <= 1 || IN_LOCAL_GROUP(ip
1188 struct ip *ip = mtod(m, struct ip *); local
[all...]
/openbsd-current/usr.sbin/mrinfo/
H A Dmrinfo.c405 struct ip *ip; local
454 if (recvlen < sizeof(struct ip)) {
460 ip = (struct ip *) recv_buf;
461 if (ip->ip_p == 0)
463 src = ip->ip_src.s_addr;
464 dst = ip->ip_dst.s_addr;
465 iphdrlen = ip->ip_hl << 2;
466 ipdatalen = ntohs(ip
[all...]
/openbsd-current/sys/arch/amd64/amd64/
H A Ddb_disasm.c1098 struct inst * ip; local
1204 ip = db_inst_0f[inst>>4];
1205 if (ip == 0)
1206 ip = &db_bad_inst;
1208 ip = &ip[inst&0xf];
1210 ip = &db_inst_table[inst];
1213 if (ip->i_has_modrm) {
1218 i_name = ip->i_name;
1219 i_size = ip
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_display_device.c182 .__runtime_defaults.ip.ver = 2, \
195 .__runtime_defaults.ip.ver = 2, \
231 .__runtime_defaults.ip.ver = 3, \
292 .__runtime_defaults.ip.ver = 4, \
333 .__runtime_defaults.ip.ver = 5, \
355 .__runtime_defaults.ip.ver = 6,
369 .__runtime_defaults.ip.ver = 7,
385 .__runtime_defaults.ip.ver = 7,
403 .__runtime_defaults.ip.ver = 7,
423 .__runtime_defaults.ip
[all...]
/openbsd-current/sys/net/
H A Dif_bridge.c54 #include <netinet/ip.h>
1446 * Block non-ip frames:
1447 * Returns 0 if frame is ip, and 1 if it should be dropped.
1507 struct ip *ip; local
1521 ip = mtod(m, struct ip *);
1522 proto = ip->ip_p;
1523 off = offsetof(struct ip, ip_p);
1532 m_copydata(m, offsetof(struct ip, ip_ds
1674 struct ip *ip; local
1827 struct ip *ip; local
1952 struct ip *ip; local
[all...]
H A Dpipex.c66 #include <netinet/ip.h>
108 int pipex_debug = 0; /* [A] systcl net.inet.ip.pipex_debug */
998 * if ip packet received when mppe
1008 * if ip packet received when mppe
1034 struct ip *ip; local
1042 PIPEX_PULLUP(m0, sizeof(struct ip));
1046 ip = mtod(m0, struct ip *);
1047 if ((ip
1378 struct ip *ip; local
1462 struct ip ip; local
1531 struct ip *ip; local
1842 struct ip *ip; local
[all...]
H A Dif_mpe.c34 #include <netinet/ip.h>
261 struct ip *ip = mtod(m, struct ip *); local
262 tos = ip->ip_tos;
263 ttloff = offsetof(struct ip, ip_ttl);
283 /* assumes the ip header is already contig */
488 struct ip *ip; local
489 if (m->m_len < sizeof(*ip)) {
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Deh_personality.cc202 _Unwind_Ptr landing_pad, ip;
231 ip = _Unwind_GetIP (context) - 1;
241 if ((int) ip < 0)
243 else if (ip == 0)
255 while (--ip);
277 // The table is sorted, so if we've passed the ip, stop.
278 if (ip < info.Start + cs_start)
280 else if (ip < info.Start + cs_start + cs_len)
291 // If ip is not present in the table, call terminate. This is for
300 // If ip i
201 _Unwind_Ptr landing_pad, ip; local
[all...]
/openbsd-current/sys/arch/i386/i386/
H A Ddb_disasm.c1095 struct inst * ip; local
1169 ip = db_inst_0f[inst>>4];
1170 if (ip == 0)
1171 ip = &db_bad_inst;
1173 ip = &ip[inst&0xf];
1175 ip = &db_inst_table[inst];
1178 if (ip->i_has_modrm) {
1183 i_name = ip->i_name;
1184 i_size = ip
[all...]
/openbsd-current/sys/arch/i386/stand/libsa/
H A Dpxe.c90 #include <netinet/ip.h>
123 /* Caller must leave room for ethernet, ip, and udp headers in front!! */
131 uw->ip = d->destip.s_addr;
161 struct ip *ip; local
164 ip = (struct ip *)uh - 1;
186 ip->ip_src.s_addr = ur->src_ip;
461 printf(", ip %d.%d.%d.%d", p[0], p[1], p[2], p[3]);
/openbsd-current/sys/arch/amd64/stand/libsa/
H A Dpxe.c90 #include <netinet/ip.h>
123 /* Caller must leave room for ethernet, ip, and udp headers in front!! */
131 uw->ip = d->destip.s_addr;
161 struct ip *ip; local
164 ip = (struct ip *)uh - 1;
186 ip->ip_src.s_addr = ur->src_ip;
461 printf(", ip %d.%d.%d.%d", p[0], p[1], p[2], p[3]);
/openbsd-current/usr.sbin/ospfd/
H A Dpacket.c24 #include <netinet/ip.h>
38 int ip_hdr_sanity_check(const struct ip *, u_int16_t);
39 int ospf_hdr_sanity_check(const struct ip *,
67 struct ip ip_hdr;
118 struct ip ip_hdr;
265 ip_hdr_sanity_check(const struct ip *ip_hdr, u_int16_t len)
281 ospf_hdr_sanity_check(const struct ip *ip_hdr, struct ospf_hdr *ospf_hdr,
/openbsd-current/usr.sbin/unbound/smallapp/
H A Dunbound-anchor.c488 verb_addr(const char* msg, struct ip_list* ip) argument
492 void* a = &((struct sockaddr_in*)&ip->addr)->sin_addr;
493 if(ip->len != (socklen_t)sizeof(struct sockaddr_in))
494 a = &((struct sockaddr_in6*)&ip->addr)->sin6_addr;
496 if(inet_ntop((int)((struct sockaddr_in*)&ip->addr)->sin_family,
519 struct ip_list* ip = (struct ip_list*)calloc(1, sizeof(*ip)); local
522 struct sockaddr_in* sa = (struct sockaddr_in*)&ip->addr;
523 ip->len = (socklen_t)sizeof(*sa);
528 free(ip);
579 struct ip_list* ip = RR_to_ip(tp, res->data[i], res->len[i], local
597 struct ip_list* ip; local
744 connect_to_ip(struct ip_list* ip, struct ip_list* src) argument
1134 https_to_ip(struct ip_list* ip, const char* pathname, const char* urlname, struct ip_list* src, int use_sni) argument
1180 struct ip_list* ip; local
[all...]
/openbsd-current/usr.bin/ssh/
H A Dhostfile.c435 write_host_entry(FILE *f, const char *host, const char *ip, argument
451 } else if (ip != NULL)
452 fprintf(f, "%s,%s ", lhost, ip);
464 if (success && store_hash && ip != NULL)
465 success = write_host_entry(f, ip, NULL, key, 1);
536 const char *host, *ip; member in struct:host_delete_ctx
588 hostfile_replace_entries(const char *filename, const char *host, const char *ip, argument
604 ctx.ip = ip;
637 if ((r = hostkeys_foreach(filename, host_delete, &ctx, host, ip,
753 hostkeys_foreach_file(const char *path, FILE *f, hostkeys_foreach_fn *callback, void *ctx, const char *host, const char *ip, u_int options, u_int note) argument
923 hostkeys_foreach(const char *path, hostkeys_foreach_fn *callback, void *ctx, const char *host, const char *ip, u_int options, u_int note) argument
[all...]
/openbsd-current/usr.sbin/rpki-client/
H A Dcert.c52 const struct cert_ip *ip)
54 if (!ip_addr_check_overlap(ip, fn, ips, *ipsz, 0))
56 ips[(*ipsz)++] = *ip;
276 struct cert_ip ip; local
278 memset(&ip, 0, sizeof(struct cert_ip));
280 ip.afi = afi;
281 ip.type = CERT_IP_ADDR;
283 if (!ip_addr_parse(bs, afi, fn, &ip.ip)) {
289 if (!ip_cert_compose_ranges(&ip)) {
51 append_ip(const char *fn, struct cert_ip *ips, size_t *ipsz, const struct cert_ip *ip) argument
306 struct cert_ip ip; local
338 struct cert_ip ip; local
803 int nid, ip, as, sia, cp, crldp, aia, aki, ski, local
[all...]
/openbsd-current/gnu/usr.bin/binutils/gas/config/
H A Dtc-mips.c902 (struct mips_cl_insn *ip, expressionS *p, bfd_reloc_code_real_type *r);
910 static void macro (struct mips_cl_insn * ip);
911 static void mips16_macro (struct mips_cl_insn * ip);
913 static void macro2 (struct mips_cl_insn * ip);
915 static void mips_ip (char *str, struct mips_cl_insn * ip);
916 static void mips16_ip (char *str, struct mips_cl_insn * ip);
1742 insn_uses_reg (struct mips_cl_insn *ip, unsigned int reg,
1766 if ((ip->insn_mo->pinfo & INSN_READ_FPR_S)
1767 && ((((ip->insn_opcode >> OP_SH_FS) & OP_MASK_FS) &~(unsigned)1)
1770 if ((ip
1736 insn_uses_reg(struct mips_cl_insn *ip, unsigned int reg, enum mips_regclass class) argument
1916 append_insn(struct mips_cl_insn *ip, expressionS *address_expr, bfd_reloc_code_real_type *reloc_type) argument
3807 check_absolute_expr(struct mips_cl_insn *ip, expressionS *ex) argument
4478 macro(struct mips_cl_insn *ip) argument
7273 macro2(struct mips_cl_insn *ip) argument
8066 mips16_macro(struct mips_cl_insn *ip) argument
8416 mips_ip(char *str, struct mips_cl_insn *ip) argument
9525 mips16_ip(char *str, struct mips_cl_insn *ip) argument
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Daqua_vanjaram.c103 if (adev->xcp_mgr->xcp[xcp_id].ip[ip_blk].inst_mask & inst_mask) {
346 struct amdgpu_xcp_ip *ip)
384 ip->inst_mask = XCP_INST_MASK(num_xcc_xcp, xcp_id);
385 ip->ip_funcs = &gfxhub_v1_2_xcp_funcs;
388 ip->inst_mask = XCP_INST_MASK(num_xcc_xcp, xcp_id);
389 ip->ip_funcs = &gfx_v9_4_3_xcp_funcs;
392 ip->inst_mask = XCP_INST_MASK(num_sdma_xcp, xcp_id);
393 ip->ip_funcs = &sdma_v4_4_2_xcp_funcs;
396 ip->inst_mask = XCP_INST_MASK(num_vcn_xcp, xcp_id);
403 ip
344 __aqua_vanjaram_get_xcp_ip_info(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, enum AMDGPU_XCP_IP_BLOCK ip_id, struct amdgpu_xcp_ip *ip) argument
597 aqua_vanjaram_get_xcp_ip_details(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, enum AMDGPU_XCP_IP_BLOCK ip_id, struct amdgpu_xcp_ip *ip) argument
[all...]

Completed in 273 milliseconds

<<11121314151617181920>>