Searched refs:inp (Results 26 - 50 of 259) sorted by relevance

1234567891011

/freebsd-11-stable/sys/netipsec/
H A Dipsec.c300 ipsec_invalidate_cache(struct inpcb *inp, u_int dir) argument
304 INP_WLOCK_ASSERT(inp);
306 if (inp->inp_sp->flags & INP_INBOUND_POLICY)
308 sp = inp->inp_sp->sp_in;
309 inp->inp_sp->sp_in = NULL;
311 if (inp->inp_sp->flags & INP_OUTBOUND_POLICY)
313 sp = inp->inp_sp->sp_out;
314 inp->inp_sp->sp_out = NULL;
321 ipsec_cachepolicy(struct inpcb *inp, struct secpolicy *sp, u_int dir) argument
326 INP_LOCK_ASSERT(inp);
402 ipsec_checkpolicy(struct secpolicy *sp, struct inpcb *inp, int *error) argument
431 ipsec_getpcbpolicy(struct inpcb *inp, u_int dir) argument
566 ipsec4_getpolicy(const struct mbuf *m, struct inpcb *inp, u_int dir, int needport) argument
589 ipsec4_checkpolicy(const struct mbuf *m, struct inpcb *inp, int *error, int needport) argument
622 ipsec4_in_reject(const struct mbuf *m, struct inpcb *inp) argument
735 ipsec6_getpolicy(const struct mbuf *m, struct inpcb *inp, u_int dir, int needport) argument
758 ipsec6_checkpolicy(const struct mbuf *m, struct inpcb *inp, int *error, int needport) argument
791 ipsec6_in_reject(const struct mbuf *m, struct inpcb *inp) argument
1013 ipsec_in_reject(struct secpolicy *sp, struct inpcb *inp, const struct mbuf *m) argument
1147 ipsec_hdrsiz_inpcb(struct inpcb *inp) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_scanf.c106 vsscanf(const char *inp, char const *fmt0, va_list ap) argument
128 inr = strlen(inp);
140 while (inr > 0 && isspace(*inp))
141 nread++, inr--, inp++;
158 if (*inp != c)
160 inr--, inp++;
292 while (isspace(*inp)) {
295 inp++;
321 inp += n;
328 inp
[all...]
/freebsd-11-stable/crypto/openssl/crypto/whrlpool/
H A Dwp_dgst.c73 const unsigned char *inp = _inp; local
76 WHIRLPOOL_BitUpdate(c, inp, chunk * 8);
78 inp += chunk;
81 WHIRLPOOL_BitUpdate(c, inp, bytes * 8);
91 const unsigned char *inp = _inp; local
111 whirlpool_block(c, inp, n);
112 inp += n * WHIRLPOOL_BBLOCK / 8;
121 memcpy(c->data + byteoff, inp, bitrem);
122 inp += bitrem;
126 memcpy(c->data + byteoff, inp, bit
247 WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) argument
[all...]
/freebsd-11-stable/sys/netinet/
H A Dtcp_subr.c471 struct inpcb *inp = mem; local
473 INP_LOCK_INIT(inp, "inp", "tcpinp");
786 tcpip_fillheaders(struct inpcb *inp, void *ip_ptr, void *tcp_ptr) argument
790 INP_WLOCK_ASSERT(inp);
793 if ((inp->inp_vflag & INP_IPV6) != 0) {
798 (inp->inp_flow & IPV6_FLOWINFO_MASK);
803 ip6->ip6_src = inp->in6p_laddr;
804 ip6->ip6_dst = inp->in6p_faddr;
817 ip->ip_tos = inp
846 tcpip_maketemplate(struct inpcb *inp) argument
876 struct inpcb *inp; local
1166 tcp_newtcpcb(struct inpcb *inp) argument
1287 struct inpcb *inp; local
1365 struct inpcb *inp = tp->t_inpcb; local
1498 struct inpcb *inp; local
1537 struct inpcb *inp = tp->t_inpcb; local
1634 tcp_notify(struct inpcb *inp, int error) argument
1685 struct inpcb *inp, **inp_list; local
1835 struct inpcb *inp; local
1872 struct inpcb *inp; local
1938 struct inpcb *inp; local
2051 struct inpcb *inp; local
2327 tcp_drop_syn_sent(struct inpcb *inp, int errno) argument
2356 tcp_mtudisc_notify(struct inpcb *inp, int error) argument
2364 tcp_mtudisc(struct inpcb *inp, int mtuoffer) argument
2536 struct inpcb *inp; local
[all...]
H A Dip_output.c105 ip_output_pfil(struct mbuf **mp, struct ifnet *ifp, struct inpcb *inp, argument
118 *error = pfil_run_hooks(&V_inet_pfil_hook, mp, ifp, PFIL_OUT, 0, inp);
209 struct ip_moptions *imo, struct inpcb *inp)
232 if (inp != NULL) {
233 INP_LOCK_ASSERT(inp);
234 M_SETFIB(m, inp->inp_inc.inc_fibnum);
236 m->m_pkthdr.flowid = inp->inp_flowid;
237 M_HASHTYPE_SET(m, inp->inp_flowtype);
280 fibnum = (inp != NULL) ? inp
208 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct inpcb *inp) argument
935 struct inpcb *inp = sotoinpcb(so); local
[all...]
H A Dsctp_var.h46 #define sctp_feature_on(inp, feature) (inp->sctp_features |= feature)
47 #define sctp_feature_off(inp, feature) (inp->sctp_features &= ~feature)
48 #define sctp_is_feature_on(inp, feature) ((inp->sctp_features & feature) == feature)
49 #define sctp_is_feature_off(inp, feature) ((inp->sctp_features & feature) == 0)
51 #define sctp_stcb_feature_on(inp, stcb, feature) {\
54 } else if (inp) { \
[all...]
H A Dtoecore.c187 toe_listen_start(struct inpcb *inp, void *arg) argument
192 INP_WLOCK_ASSERT(inp);
193 KASSERT(inp->inp_pcbinfo == &V_tcbinfo,
194 ("%s: inp is not a TCP inp", __func__));
196 if (inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT))
199 tp = intotcpcb(inp);
215 struct inpcb *inp = tp->t_inpcb; local
217 INP_WLOCK_ASSERT(inp);
221 toe_listen_start(inp, NUL
229 struct inpcb *inp = tp->t_inpcb; local
327 toe_syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, struct inpcb *inp, void *tod, void *todctx) argument
358 struct inpcb *inp; local
477 toe_connect_failed(struct toedev *tod, struct inpcb *inp, int err) argument
[all...]
H A Din_pcb.h440 #define INP_LOCK_INIT(inp, d, t) \
441 rw_init_flags(&(inp)->inp_lock, (t), RW_RECURSE | RW_DUPOK)
442 #define INP_LOCK_DESTROY(inp) rw_destroy(&(inp)->inp_lock)
443 #define INP_RLOCK(inp) rw_rlock(&(inp)->inp_lock)
444 #define INP_WLOCK(inp) rw_wlock(&(inp)->inp_lock)
445 #define INP_TRY_RLOCK(inp) rw_try_rlock(&(inp)
[all...]
H A Dsctputil.c94 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) argument
99 sctp_clog.x.close.inp = (void *)inp;
100 sctp_clog.x.close.sctp_flags = inp->sctp_flags;
350 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) argument
356 if (inp) {
357 sctp_clog.x.lock.sock = (void *)inp->sctp_socket;
362 sctp_clog.x.lock.inp = (void *)inp;
368 if (inp) {
629 sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
780 struct sctp_inpcb *inp; local
804 struct sctp_inpcb *inp; local
936 sctp_select_initial_TSN(struct sctp_pcb *inp) argument
974 sctp_select_a_tag(struct sctp_inpcb *inp, uint16_t lport, uint16_t rport, int check) argument
1039 sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint32_t override_tag, uint32_t vrf_id, uint16_t o_strms) argument
1605 struct sctp_inpcb *inp; local
2046 sctp_timer_start(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
2331 sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t from) argument
2496 sctp_mtu_size_reset(struct sctp_inpcb *inp, struct sctp_association *asoc, uint32_t mtu) argument
4066 sctp_abort_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct mbuf *op_err, uint8_t mflowtype, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument
4174 sctp_abort_an_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *op_err, int so_locked SCTP_UNUSED ) argument
4233 sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_inpcb *inp, struct mbuf *cause, uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum, uint32_t vrf_id, uint16_t port) argument
4558 sctp_wakeup_the_read_socket(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int so_locked SCTP_UNUSED ) argument
4597 sctp_add_to_readq(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct sockbuf *sb, int end, int inp_read_lock_held, int so_locked SCTP_UNUSED ) argument
5030 sctp_find_ifa_in_ep(struct sctp_inpcb *inp, struct sockaddr *addr, int holds_lock) argument
5277 struct sctp_inpcb *inp = NULL; local
6308 struct sctp_inpcb *inp; local
6375 struct sctp_inpcb *inp; local
6451 sctp_connectx_helper_find(struct sctp_inpcb *inp, struct sockaddr *addr, unsigned int totaddr, unsigned int *num_v4, unsigned int *num_v6, unsigned int limit) argument
6524 sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error, void *p) argument
6654 sctp_bindx_delete_address(struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error) argument
6909 sctp_recv_udp_tunneled_packet(struct mbuf *m, int off, struct inpcb *inp, const struct sockaddr *sa SCTP_UNUSED, void *ctx SCTP_UNUSED) argument
6999 struct sctp_inpcb *inp; local
7106 struct sctp_inpcb *inp; local
[all...]
H A Dtcp_timer.c202 #define INP_CPU(inp) (per_cpu_timers ? (!CPU_ABSENT(((inp)->inp_flowid % (mp_maxid+1))) ? \
203 ((inp)->inp_flowid % (mp_maxid+1)) : curcpu) : 0)
207 * Map the given inp to a CPU id.
213 inp_to_cpuid(struct inpcb *inp) argument
219 cpuid = rss_hash2cpuid(inp->inp_flowid, inp->inp_flowtype);
233 cpuid = inp->inp_flowid % (mp_maxid + 1);
280 struct inpcb *inp; local
283 inp
314 struct inpcb *inp; local
396 struct inpcb *inp; local
497 struct inpcb *inp; local
579 struct inpcb *inp; local
836 struct inpcb *inp = tp->t_inpcb; local
[all...]
H A Dsctp_asconf.h62 sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr,
65 sctp_asconf_iterator_stcb(struct sctp_inpcb *inp,
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-dump.h36 extern char *skip_spaces (char *inp);
/freebsd-11-stable/usr.bin/patch/
H A DMakefile8 SRCS= backupfile.c inp.c mkpath.c patch.c pch.c util.c
/freebsd-11-stable/usr.bin/m4/
H A Dtrace.c137 print_header(struct input_file *inp) argument
141 fprintf(traceout, "%s:", inp->name);
143 fprintf(traceout, "%lu:", inp->lineno);
150 trace(const char *argv[], int argc, struct input_file *inp) argument
154 print_header(inp);
157 print_header(inp);
179 print_header(inp);
/freebsd-11-stable/usr.bin/netstat/
H A Dinet.c191 struct inpcb *inp; local
247 LIST_FOREACH(inp, &listhead, inp_list) {
249 KREAD(inp, &xt.xt_inp, sizeof(*inp));
250 inp = &xt.xt_inp;
252 KREAD(inp, &xi.xi_inp, sizeof(*inp));
253 inp = &xi.xi_inp;
256 if (inp->inp_gencnt > pcbinfo.ipi_gencnt)
260 if (inp
314 struct inpcb *inp; local
1490 inetname(struct in_addr *inp) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/
H A Dppccap.c64 void sha256_block_p8(void *ctx, const void *inp, size_t len);
65 void sha256_block_ppc(void *ctx, const void *inp, size_t len);
66 void sha256_block_data_order(void *ctx, const void *inp, size_t len) argument
68 OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha256_block_p8(ctx, inp, len) :
69 sha256_block_ppc(ctx, inp, len);
72 void sha512_block_p8(void *ctx, const void *inp, size_t len);
73 void sha512_block_ppc(void *ctx, const void *inp, size_t len);
74 void sha512_block_data_order(void *ctx, const void *inp, size_t len) argument
76 OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha512_block_p8(ctx, inp, len) :
77 sha512_block_ppc(ctx, inp, le
[all...]
/freebsd-11-stable/sys/netinet6/
H A Draw_ip6.c175 /* XXX inp locking */
566 struct inpcb *inp; local
578 inp = sotoinpcb(so);
579 INP_WLOCK(inp);
580 inp->inp_inc.inc_fibnum = so->so_fibnum;
581 INP_WUNLOCK(inp);
639 struct inpcb *inp; local
643 inp = sotoinpcb(so);
644 KASSERT(inp == NULL, ("rip6_attach: inp !
677 struct inpcb *inp; local
697 struct inpcb *inp; local
708 struct inpcb *inp; local
719 struct inpcb *inp; local
734 struct inpcb *inp; local
774 struct inpcb *inp; local
824 struct inpcb *inp; local
839 struct inpcb *inp; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl26 my ($inp,$out,$len,$key,$ivec)=map("%i$_",(0..5));
41 sub $inp, $out, $blk_init ! $inp!=$out
62 prefetch [$inp], 20
63 prefetch [$inp + 63], 20
65 and $inp, 7, $ileft
66 andn $inp, 7, $inp
75 brnz,pn $blk_init, .L${bits}cbc_enc_blk ! $inp==$out)
83 ldx [$inp
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/asm/
H A Ddest4-sparcv9.pl41 { my ($inp,$out)=("%o0","%o1");
48 andcc $inp, 0x7, %g0
49 alignaddr $inp, %g0, $inp
51 ldd [$inp + 0x00], %f0
52 ldd [$inp + 0x08], %f2
90 { my ($inp,$out,$len,$key,$ivec) = map("%o$_",(0..4));
103 and $inp, 7, $ileft
104 andn $inp, 7, $inp
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c113 #define INP_TOS(inp) ((inp_ip_tos_get(inp) >> 2) & M_TOS)
121 * The inp must be wlocked on entry and is unlocked (or maybe destroyed) by the
127 struct inpcb *inp = toep->tp_inp; local
132 INP_WLOCK_ASSERT(inp);
148 rc = in_pcbrele_wlocked(inp);
150 INP_WUNLOCK(inp);
160 toepcb_detach(struct inpcb *inp) argument
165 KASSERT(inp, ("%s: inp i
590 struct inpcb *inp = tp->t_inpcb; local
635 struct inpcb *inp = tp->t_inpcb; local
656 struct inpcb *inp = tp->t_inpcb; local
771 struct inpcb *inp = sotoinpcb(so); local
804 struct inpcb *inp = sotoinpcb(so); local
840 struct inpcb *inp = sotoinpcb(so); local
914 struct inpcb *inp = toep->tp_inp; local
957 struct inpcb *inp = sotoinpcb(so); local
1056 struct inpcb *inp = toep->tp_inp; local
1114 struct inpcb *inp = toep->tp_inp; local
1220 struct inpcb *inp = toep->tp_inp; local
1283 struct inpcb *inp = toep->tp_inp; local
1376 struct inpcb *inp; local
1475 struct inpcb *inp; local
1570 struct inpcb *inp = sotoinpcb(so); local
1653 struct inpcb *inp = toep->tp_inp; local
1704 struct inpcb *inp = toep->tp_inp; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/aes/asm/
H A Daesni-mb-x86_64.pl74 # struct { void *inp,*out; int blocks; double iv[2]; } inp[8];
78 $inp="%rdi"; # 1st arg
87 @inp=map("%xmm$_",(6..9));
148 lea 40*2($inp),$inp
156 mov `40*$i+16-40*2`($inp),$one # borrow $one for number of blocks
157 mov `40*$i+0-40*2`($inp),@inptr[$i]
159 mov `40*$i+8-40*2`($inp),@outptr[$i]
162 movdqu `40*$i+24-40*2`($inp),
[all...]
H A Dbsaes-x86_64.pl105 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");
935 my ($out,$inp,$rounds,$const)=("%rax","%rcx","%r10d","%r11");
966 movdqu ($inp), %xmm7 # load round 0 key
967 lea 0x10($inp), $inp
975 movdqu ($inp), %xmm6 # load round 1 key
1018 lea 0x10($inp), $inp
1028 movdqu ($inp), %xmm6 # load next round key
1054 mov 240($inp),
[all...]
/freebsd-11-stable/contrib/ngatm/libngatm/
H A Dunimsg.c231 uni_msg_dup(const struct uni_msg *inp) argument
236 len = inp->b_wptr - inp->b_rptr;
237 off = inp->b_rptr - inp->b_buf;
238 if ((msg = uni_msg_alloc(inp->b_lim - inp->b_buf)) == NULL)
242 (void)memcpy(msg->b_rptr, inp->b_rptr, len);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintdstlistnode.c11 printdstlistnode(inp, copyfunc, opts, fields)
12 ipf_dstnode_t *inp;
24 if ((*copyfunc)(inp, &node, sizeof(node)))
30 if ((*copyfunc)(inp, np, node.ipfd_size))
/freebsd-11-stable/crypto/openssl/crypto/rc4/asm/
H A Drc4-x86_64.pl120 $inp="%rdx"; # arg3
140 mov $inp,%r12
144 my $inp="%r12";
165 sub $inp,$out
184 xorb ($inp),$TY#b
185 movb $TY#b,($out,$inp)
186 lea 1($inp),$inp
216 xor ($inp),%r8
217 mov %r8,($out,$inp)
[all...]

Completed in 217 milliseconds

1234567891011