Home
last modified time | relevance | path

Searched refs:inp_flags (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/sys/netinet6/
H A Din6_pcb.c166 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { in in6pcb_bind_addr()
182 (inp->inp_flags & IN6P_BINDANY) == 0) { in in6pcb_bind_addr()
193 if ((inp->inp_flags & IN6P_FAITH) == 0) { in in6pcb_bind_addr()
196 (inp->inp_flags & IN6P_BINDANY) == 0) { in in6pcb_bind_addr()
425 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) in in6pcb_connect()
709 if (cmd == PRC_MSGSIZE && (inp->inp_flags & IN6P_MTU) != 0 && in in6pcb_notify()
853 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) in in6pcb_lookup_local()
859 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) in in6pcb_lookup_local()
883 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) in in6pcb_lookup_local()
890 if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) in in6pcb_lookup_local()
[all …]
H A Dudp6_usrreq.c346 inp->inp_flags &= ~IN6P_ESPINUDP; in udp6_ctloutput()
350 inp->inp_flags |= IN6P_ESPINUDP; in udp6_ctloutput()
398 if (inp->inp_flags & IN6P_CONTROLOPTS || in udp6_sendup()
482 (inp->inp_flags & IN6P_IPV6_V6ONLY)) in udp6_realinput()
491 (inp->inp_flags & IN6P_IPV6_V6ONLY)) in udp6_realinput()
525 if (inp->inp_flags & IN6P_ESPINUDP) { in udp6_realinput()
823 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) { in udp6_output()
943 if ((inp->inp_flags & IN6P_IPV6_V6ONLY)) in udp6_output()
H A Dip6_input.c1071 #define IS2292(x, y) ((inp->inp_flags & IN6P_RFC2292) ? (x) : (y)) in ip6_savecontrol()
1086 if ((inp->inp_flags & IN6P_PKTINFO) != 0) { in ip6_savecontrol()
1098 if (inp->inp_flags & IN6P_HOPLIMIT) { in ip6_savecontrol()
1107 if ((inp->inp_flags & IN6P_TCLASS) != 0) { in ip6_savecontrol()
1129 if ((inp->inp_flags & IN6P_HOPOPTS) != 0) { in ip6_savecontrol()
1173 if (inp->inp_flags & (IN6P_DSTOPTS | IN6P_RTHDR)) { in ip6_savecontrol()
1222 if (!(inp->inp_flags & IN6P_DSTOPTS)) in ip6_savecontrol()
1233 if (!(inp->inp_flags & IN6P_RTHDR)) in ip6_savecontrol()
H A Dip6_output.c1401 inp->inp_flags |= (bit); \ in ip6_ctloutput()
1403 inp->inp_flags &= ~(bit); \ in ip6_ctloutput()
1409 inp->inp_flags |= IN6P_RFC2292; \ in ip6_ctloutput()
1411 inp->inp_flags |= (bit); \ in ip6_ctloutput()
1413 inp->inp_flags &= ~(bit); \ in ip6_ctloutput()
1417 #define OPTBIT(bit) (inp->inp_flags & (bit) ? 1 : 0) in ip6_ctloutput()
1700 inp->inp_flags &= ~(IN6P_LOWPORT); in ip6_ctloutput()
1701 inp->inp_flags &= ~(IN6P_HIGHPORT); in ip6_ctloutput()
1705 inp->inp_flags &= ~(IN6P_LOWPORT); in ip6_ctloutput()
1706 inp->inp_flags |= IN6P_HIGHPORT; in ip6_ctloutput()
[all …]
H A Din6_src.c852 if (inp->inp_flags & IN6P_LOWPORT) { in in6pcb_set_port()
878 inp->inp_flags |= IN6P_ANONPORT; in in6pcb_set_port()
H A Draw_ip6.c143 if (last->inp_flags & IN6P_CONTROLOPTS || in rip6_sbappendaddr()
H A Dsctp6_usrreq.c251 if ((in6p->ip_inp.inp.inp_flags & INP_CONTROLOPTS) in sctp6_input()
H A Dicmp6.c1990 if (last->inp_flags & IN6P_CONTROLOPTS || in icmp6_rip6_input()
2017 if (last->inp_flags & IN6P_CONTROLOPTS || in icmp6_rip6_input()
/netbsd-src/sys/netinet/
H A Draw_ip.c144 if (last->inp_flags & INP_NOHEADER) in rip_sbappendaddr()
146 if (last->inp_flags & INP_CONTROLOPTS || in rip_sbappendaddr()
323 if ((inp->inp_flags & INP_HDRINCL) == 0) { in rip_output()
411 optval = (inp->inp_flags & INP_NOHEADER) ? 1 : 0; in rip_ctloutput()
418 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput()
419 inp->inp_flags |= INP_NOHEADER; in rip_ctloutput()
421 inp->inp_flags &= ~INP_NOHEADER; in rip_ctloutput()
436 inp->inp_flags |= INP_HDRINCL; in rip_ctloutput()
438 inp->inp_flags &= ~INP_HDRINCL; in rip_ctloutput()
465 optval = inp->inp_flags & INP_HDRINCL; in rip_ctloutput()
[all …]
H A Dtcp_syncache.c632 if (sotoinpcb(oso)->inp_flags & IN6P_IPV6_V6ONLY) in syn_cache_get()
633 inp->inp_flags |= IN6P_IPV6_V6ONLY; in syn_cache_get()
635 inp->inp_flags &= ~IN6P_IPV6_V6ONLY; in syn_cache_get()
655 inp->inp_flags |= (oinp->inp_flags & IN6P_CONTROLOPTS); in syn_cache_get()
656 if (inp->inp_flags & IN6P_CONTROLOPTS) { in syn_cache_get()
H A Dportalgo.c180 if (inp->inp_flags & INP_LOWPORT) { in pcb_getports()
197 if (inp->inp_flags & IN6P_LOWPORT) { in pcb_getports()
275 if (inp->inp_flags & INP_LOWPORT) { in check_suitable_port()
341 if (inp->inp_flags & IN6P_LOWPORT) { in check_suitable_port()
H A Din_pcb.c239 inp->inp_flags |= IN6P_IPV6_V6ONLY; in inpcb_create()
280 if (inp->inp_flags & INP_LOWPORT) { in inpcb_set_port()
307 inp->inp_flags |= INP_ANONPORT; in inpcb_set_port()
339 else if ((inp->inp_flags & INP_BINDANY) != 0) { in inpcb_bindableaddr()
601 if (_ia == NULL && (inp->inp_flags & INP_BINDANY) == 0) { in inpcb_connect()
H A Dudp_usrreq.c463 if (inp->inp_flags & INP_CONTROLOPTS || in udp4_sendup()
575 if (inp->inp_flags & INP_ESPINUDP) { in udp4_realinput()
736 inp->inp_flags &= ~INP_ESPINUDP; in udp_ctloutput()
740 inp->inp_flags |= INP_ESPINUDP; in udp_ctloutput()
H A Din_pcb.h106 int inp_flags; /* generic IP/datagram flags */ member
H A Dsctp_pcb.h760 #define in6p_flags in6p_pcb.inp_flags
H A Dip_output.c1087 int inpflags = inp->inp_flags; in ip_ctloutput()
1423 inp->inp_flags = inpflags; in ip_ctloutput()
H A Dtcp_usrreq.c1681 pcb.ki_pflags = inp->inp_flags; in sysctl_inpcblist()
1721 pcb.ki_pflags = inp->inp_flags; in sysctl_inpcblist()
H A Dip_input.c1501 int inpflags = inp->inp_flags; in ip_savecontrol()
H A Dsctp_input.c4036 if (inp->ip_inp.inp.inp_flags & INP_RECVDSTADDR) { in sctp_saveopt()
4243 if ((inp->ip_inp.inp.inp_flags & INP_CONTROLOPTS) in sctp_input()
H A Dtcp_vtw.c1987 vtw->v6only = !!(inp->inp_flags in vtw_add()
H A Dtcp_input.c1495 if (inp->inp_af == AF_INET6 && (inp->inp_flags & IN6P_CONTROLOPTS)) { in tcp_input()
H A Dsctputil.c720 (inp6->inp_flags & IN6P_IPV6_V6ONLY) in sctp_init_asoc()
/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitNativePPC_common.c865 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 re… in getput_arg_fast() argument
876 if (inp_flags & ARG_TEST) in getput_arg_fast()
879 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg_fast()
881 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(OFFS_R… in getput_arg_fast()
886 inp_flags &= ~WRITE_BACK; in getput_arg_fast()
889 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
894 if (inp_flags & ARG_TEST) in getput_arg_fast()
901 if (inp_flags & ARG_TEST) in getput_arg_fast()
904 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
908 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw… in getput_arg_fast()
[all …]
H A DsljitNativeARM_32.c875 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags,
1402 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags, in emit_op() argument
1423 SLJIT_ASSERT(!(inp_flags & ALLOW_INV_IMM) || (inp_flags & ALLOW_IMM)); in emit_op()
1428 if (!(inp_flags & ALLOW_IMM)) in emit_op()
1435 if (inp_flags & ALLOW_INV_IMM) { in emit_op()
1466 if (inp_flags & ALLOW_INV_IMM) { in emit_op()
1492 FAIL_IF(emit_op_mem(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op()
1505 if (inp_flags & BYTE_DATA) in emit_op()
1506 inp_flags &= ~SIGNED_DATA; in emit_op()
1509 return emit_op_mem(compiler, inp_flags, src2, dst, dstw, TMP_REG2); in emit_op()
[all …]
/netbsd-src/usr.bin/netstat/
H A Dinet.c135 short t_state, const char *name, int inp_flags, in protopr0() argument
155 } else if (inp_flags & INP_ANONPORT) { in protopr0()
330 pcblist[i].ki_pflags = inp->inp_flags; in getpcblist_kmem()

12