Searched refs:inp (Results 1 - 25 of 259) sorted by relevance

1234567891011

/freebsd-11-stable/sys/netinet/
H A Din_pcbgroup.c304 in_pcbgroup_byinpcb(struct inpcb *inp) argument
315 if (inp->inp_flags2 & INP_RSS_BUCKET_SET)
316 return (&inp->inp_pcbinfo->ipi_pcbgroups[inp->inp_rss_listen_bucket]);
319 return (in_pcbgroup_bytuple(inp->inp_pcbinfo, inp->inp_laddr,
320 inp->inp_lport, inp->inp_faddr, inp->inp_fport));
324 in_pcbwild_add(struct inpcb *inp) argument
346 in_pcbwild_remove(struct inpcb *inp) argument
365 in_pcbwild_needed(struct inpcb *inp) argument
386 in_pcbwild_update_internal(struct inpcb *inp) argument
404 in_pcbgroup_update_internal(struct inpcbinfo *pcbinfo, struct inpcbgroup *newpcbgroup, struct inpcb *inp) argument
468 in_pcbgroup_update(struct inpcb *inp) argument
494 in_pcbgroup_update_mbuf(struct inpcb *inp, struct mbuf *m) argument
534 in_pcbgroup_remove(struct inpcb *inp) argument
[all...]
H A Dsctp_peeloff.c52 struct sctp_inpcb *inp; local
60 inp = (struct sctp_inpcb *)head->so_pcb;
61 if (inp == NULL) {
65 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
66 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
67 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EOPNOTSUPP);
70 stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1);
72 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT);
79 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOTCONN);
90 struct sctp_inpcb *inp, *n_in local
[all...]
H A Dsctp_usrreq.c152 sctp_notify(struct sctp_inpcb *inp, argument
193 so = SCTP_INP_SO(inp);
200 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC,
224 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net,
236 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr));
238 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu);
247 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net);
262 struct sctp_inpcb *inp; local
298 inp = NULL;
302 &inp,
365 struct sctp_inpcb *inp; local
427 struct sctp_inpcb *inp; local
470 struct sctp_inpcb *inp; local
503 struct sctp_inpcb *inp; local
524 struct sctp_inpcb *inp; local
589 struct sctp_inpcb *inp; local
672 struct sctp_inpcb *inp; local
826 struct sctp_inpcb *inp; local
870 struct sctp_inpcb *inp; local
1012 sctp_fill_up_addresses_vrf(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas, uint32_t vrf_id) argument
1247 sctp_fill_up_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas) argument
1266 sctp_count_max_addresses_vrf(struct sctp_inpcb *inp, uint32_t vrf_id) argument
1343 sctp_count_max_addresses(struct sctp_inpcb *inp) argument
1355 sctp_do_connect_x(struct socket *so, struct sctp_inpcb *inp, void *optval, size_t optsize, void *p, int delay) argument
1539 struct sctp_inpcb *inp = NULL; local
3769 struct sctp_inpcb *inp = NULL; local
6913 struct sctp_inpcb *inp; local
6984 struct sctp_inpcb *inp; local
7147 struct sctp_inpcb *inp; local
7304 struct sctp_inpcb *inp; local
7415 struct sctp_inpcb *inp; local
7514 struct sctp_inpcb *inp; local
[all...]
H A Din_pcb.c134 static void in_pcbremlists(struct inpcb *inp);
276 struct inpcb *inp; local
288 inp = uma_zalloc(pcbinfo->ipi_zone, M_NOWAIT);
289 if (inp == NULL)
291 bzero(inp, inp_zero_size);
292 inp->inp_pcbinfo = pcbinfo;
293 inp->inp_socket = so;
294 inp->inp_cred = crhold(so->so_cred);
295 inp->inp_inc.inc_fibnum = so->so_fibnum;
297 error = mac_inpcb_init(inp, M_NOWAI
348 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument
378 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp, struct ucred *cred, int lookupflags) argument
499 inp_so_options(const struct inpcb *inp) argument
554 in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, u_short *lportp, struct ucred *cred) argument
716 in_pcbconnect_mbuf(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred, struct mbuf *m) argument
758 in_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument
769 in_pcbladdr(struct inpcb *inp, struct in_addr *faddr, struct in_addr *laddr, struct ucred *cred) argument
1008 in_pcbconnect_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, u_short *lportp, in_addr_t *faddrp, u_short *fportp, struct inpcb **oinpp, struct ucred *cred) argument
1121 in_pcbdisconnect(struct inpcb *inp) argument
1140 in_pcbdetach(struct inpcb *inp) argument
1169 in_pcbref(struct inpcb *inp) argument
1190 in_pcbrele_rlocked(struct inpcb *inp) argument
1219 in_pcbrele_wlocked(struct inpcb *inp) argument
1251 in_pcbrele(struct inpcb *inp) argument
1267 in_pcbfree(struct inpcb *inp) argument
1336 in_pcbdrop(struct inpcb *inp) argument
1386 struct inpcb *inp; local
1405 struct inpcb *inp; local
1425 struct inpcb *inp, *inp_temp; local
1450 struct inpcb *inp; local
1496 struct inpcb *inp; local
1620 struct inpcb *inp, *tmpinp; local
1850 struct inpcb *inp, *tmpinp; local
1972 struct inpcb *inp; local
2098 in_pcbinshash_internal(struct inpcb *inp, int do_pcbgroup_update) argument
2167 in_pcbinshash(struct inpcb *inp) argument
2174 in_pcbinshash_nopcbgroup(struct inpcb *inp) argument
2187 in_pcbrehash_mbuf(struct inpcb *inp, struct mbuf *m) argument
2221 in_pcbrehash(struct inpcb *inp) argument
2231 in_pcbremlists(struct inpcb *inp) argument
2274 in_losing(struct inpcb *inp) argument
2294 struct inpcb *inp; local
2360 inp_wlock(struct inpcb *inp) argument
2367 inp_wunlock(struct inpcb *inp) argument
2374 inp_rlock(struct inpcb *inp) argument
2381 inp_runlock(struct inpcb *inp) argument
2389 inp_lock_assert(struct inpcb *inp) argument
2396 inp_unlock_assert(struct inpcb *inp) argument
2406 struct inpcb *inp; local
2418 inp_inpcbtosocket(struct inpcb *inp) argument
2426 inp_inpcbtotcpcb(struct inpcb *inp) argument
2434 inp_ip_tos_get(const struct inpcb *inp) argument
2441 inp_ip_tos_set(struct inpcb *inp, int val) argument
2448 inp_4tuple_get(struct inpcb *inp, uint32_t *laddr, uint16_t *lp, uint32_t *faddr, uint16_t *fp) argument
2650 db_print_inpcb(struct inpcb *inp, const char *name, int indent) argument
2707 struct inpcb *inp; local
[all...]
H A Dtcp_usrreq.c141 struct inpcb *inp; local
146 inp = sotoinpcb(so);
147 KASSERT(inp == NULL, ("tcp_usr_attach: inp != NULL"));
157 inp = sotoinpcb(so);
158 tp = intotcpcb(inp);
175 tcp_detach(struct socket *so, struct inpcb *inp) argument
180 INP_WLOCK_ASSERT(inp);
182 KASSERT(so->so_pcb == inp, ("tcp_detach: so_pcb != inp"));
272 struct inpcb *inp; local
297 struct inpcb *inp; local
339 struct inpcb *inp; local
406 struct inpcb *inp; local
452 struct inpcb *inp; local
514 struct inpcb *inp; local
567 struct inpcb *inp; local
688 struct inpcb *inp; local
723 struct inpcb *inp = NULL; local
764 struct inpcb *inp = NULL; local
823 struct inpcb *inp; local
857 struct inpcb *inp; local
909 struct inpcb *inp; local
1056 struct inpcb *inp; local
1086 struct inpcb *inp; local
1128 struct inpcb *inp; local
1169 struct inpcb *inp; local
1265 struct inpcb *inp = tp->t_inpcb, *oinp; local
1328 struct inpcb *inp = tp->t_inpcb; local
1438 struct inpcb *inp; local
1574 tcp_default_ctloutput(struct socket *so, struct sockopt *sopt, struct inpcb *inp, struct tcpcb *tp) argument
1949 struct inpcb *inp; local
2001 struct inpcb *inp = tp->t_inpcb; local
[all...]
H A Draw_ip.c154 rip_inshash(struct inpcb *inp) argument
156 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo;
161 INP_WLOCK_ASSERT(inp);
163 if (inp->inp_ip_p != 0 &&
164 inp->inp_laddr.s_addr != INADDR_ANY &&
165 inp->inp_faddr.s_addr != INADDR_ANY) {
166 hash = INP_PCBHASH_RAW(inp->inp_ip_p, inp->inp_laddr.s_addr,
167 inp->inp_faddr.s_addr, pcbinfo->ipi_hashmask);
171 LIST_INSERT_HEAD(pcbhash, inp, inp_has
175 rip_delhash(struct inpcb *inp) argument
202 struct inpcb *inp = mem; local
284 struct inpcb *inp, *last; local
437 struct inpcb *inp = sotoinpcb(so); local
603 struct inpcb *inp = sotoinpcb(so); local
840 struct inpcb *inp; local
873 struct inpcb *inp; local
895 rip_dodisconnect(struct socket *so, struct inpcb *inp) argument
915 struct inpcb *inp; local
926 struct inpcb *inp; local
937 struct inpcb *inp; local
953 struct inpcb *inp; local
987 struct inpcb *inp; local
1013 struct inpcb *inp; local
1028 struct inpcb *inp; local
1058 struct inpcb *inp, **inp_list; local
[all...]
H A Dudp_usrreq.c177 struct inpcb *inp; local
179 inp = mem;
180 INP_LOCK_INIT(inp, "inp", "udpinp");
187 struct inpcb *inp; local
189 inp = mem;
190 INP_LOCK_INIT(inp, "inp", "udpliteinp");
240 udp_newudpcb(struct inpcb *inp) argument
247 inp
296 udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off, struct sockaddr_in *udp_in) argument
383 struct inpcb *inp; local
722 udp_notify(struct inpcb *inp, int errno) argument
752 struct inpcb *inp; local
823 struct inpcb *inp, **inp_list; local
937 struct inpcb *inp; local
973 struct inpcb *inp; local
1093 udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct thread *td) argument
1547 struct inpcb *inp; local
1567 struct inpcb *inp; local
1605 struct inpcb *inp; local
1630 struct inpcb *inp; local
1648 struct inpcb *inp; local
1668 struct inpcb *inp; local
1699 struct inpcb *inp; local
1722 struct inpcb *inp; local
1748 struct inpcb *inp; local
1759 struct inpcb *inp; local
[all...]
H A Dip_divert.c137 struct inpcb *inp = mem; local
139 INP_LOCK_INIT(inp, "inp", "divinp");
146 struct inpcb *inp = mem; local
148 INP_LOCK_DESTROY(inp);
197 struct inpcb *inp; local
283 LIST_FOREACH(inp, &V_divcb, inp_list) {
285 if (inp->inp_lport == nport) {
286 INP_RLOCK(inp);
287 sa = inp
375 struct inpcb *inp; local
523 struct inpcb *inp; local
554 struct inpcb *inp; local
568 struct inpcb *inp; local
596 struct inpcb *inp; local
639 struct inpcb *inp, **inp_list; local
[all...]
H A Dtcp_timewait.c222 * inp is locked, and is unlocked before returning.
228 struct inpcb *inp = tp->t_inpcb; local
233 int isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6;
237 INP_WLOCK_ASSERT(inp);
239 /* A dropped inp should never transition to TIME_WAIT state. */
240 KASSERT((inp->inp_flags & INP_DROPPED) == 0, ("tcp_twstart: "
241 "(inp->inp_flags & INP_DROPPED) != 0"));
247 error = in6_localaddr(&inp->in6p_faddr);
253 error = in_localip(inp->inp_faddr);
258 INP_WUNLOCK(inp);
379 tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, struct mbuf *m, int tlen) argument
490 struct inpcb *inp; local
549 struct inpcb *inp = tw->tw_inpcb; local
676 struct inpcb *inp; local
705 struct inpcb *inp; local
[all...]
H A Dsctp_pcb.c900 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred,
919 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred,
1021 struct sctp_inpcb *inp; local
1061 LIST_FOREACH(inp, ephead, sctp_hash) {
1062 SCTP_INP_RLOCK(inp);
1063 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) {
1064 SCTP_INP_RUNLOCK(inp);
1067 if (lport != inp->sctp_lport) {
1068 SCTP_INP_RUNLOCK(inp);
1078 if (prison_check_ip4(inp
1278 struct sctp_inpcb *inp; local
1556 sctp_findasoc_ep_asocid_locked(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) argument
1604 sctp_findassociation_ep_asocid(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int want_lock) argument
1622 struct sctp_inpcb *inp; local
1813 sctp_isport_inuse(struct sctp_inpcb *inp, uint16_t lport, uint32_t vrf_id) argument
1862 sctp_swap_inpcb_for_listen(struct sctp_inpcb *inp) argument
1921 struct sctp_inpcb *inp; local
2000 struct sctp_inpcb *inp = NULL; local
2248 struct sctp_inpcb *inp; local
2420 struct sctp_inpcb *inp; local
2472 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local
2504 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local
2524 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local
2538 LIST_INSERT_HEAD(&SCTP_BASE_INFO(listhead), inp, sctp_list); local
2808 struct sctp_inpcb *inp, *inp_tmp; local
3224 sctp_iterator_inp_being_freed(struct sctp_inpcb *inp) argument
3294 sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from) argument
3691 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_ep), inp); local
4150 sctp_aloc_a_assoc_id(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument
4186 sctp_aloc_assoc(struct sctp_inpcb *inp, struct sockaddr *firstaddr, int *error, uint32_t override_tag, uint32_t vrf_id, uint16_t o_streams, uint16_t port, struct thread *p, int initialize_auth_params) argument
4431 struct sctp_inpcb *inp; local
4701 sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfree, int from_location) argument
5247 struct sctp_inpcb *inp; local
5294 sctp_update_ep_vflag(struct sctp_inpcb *inp) argument
5333 sctp_add_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa, uint32_t action) argument
5419 sctp_del_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa) argument
5535 struct sctp_inpcb *inp; local
6045 struct sctp_inpcb *inp; local
7033 struct sctp_inpcb *inp; local
[all...]
/freebsd-11-stable/sys/netinet6/
H A Din6_pcb.c116 in6_pcbbind(struct inpcb *inp, struct sockaddr *nam, argument
119 struct socket *so = inp->inp_socket;
121 struct inpcbinfo *pcbinfo = inp->inp_pcbinfo;
126 INP_WLOCK_ASSERT(inp);
131 if (inp->inp_lport || !IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr))
136 if ((error = prison_local_ip6(cred, &inp->in6p_laddr,
137 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0)
153 ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0))) != 0)
173 (inp
327 in6_pcbladdr(struct inpcb *inp, struct sockaddr *nam, struct in6_addr *plocal_addr6) argument
392 in6_pcbconnect_mbuf(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred, struct mbuf *m) argument
439 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) argument
446 in6_pcbdisconnect(struct inpcb *inp) argument
497 struct inpcb *inp; local
516 struct inpcb *inp; local
535 struct inpcb *inp; local
559 struct inpcb *inp; local
593 struct inpcb *inp, *inp_temp; local
690 struct inpcb *inp; local
845 in6_rtchange(struct inpcb *inp, int errno) argument
867 struct inpcb *inp, *tmpinp; local
1067 struct inpcb *inp, *tmpinp; local
1178 struct inpcb *inp; local
[all...]
H A Dsctp6_usrreq.c173 sctp6_notify(struct sctp_inpcb *inp, argument
207 so = SCTP_INP_SO(inp);
214 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC,
230 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net,
242 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr));
244 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu);
253 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net);
267 struct sctp_inpcb *inp; local
333 inp = NULL;
337 &inp,
414 struct sctp_inpcb *inp; local
482 struct sctp_inpcb *inp; local
526 struct sctp_inpcb *inp; local
566 struct sctp_inpcb *inp; local
695 struct sctp_inpcb *inp; local
799 struct sctp_inpcb *inp; local
944 struct sctp_inpcb *inp; local
1049 struct sctp_inpcb *inp; local
[all...]
H A Dudp6_usrreq.c134 udp6_append(struct inpcb *inp, struct mbuf *n, int off, argument
141 INP_LOCK_ASSERT(inp);
146 up = intoudpcb(inp);
148 in_pcbref(inp);
149 INP_RUNLOCK(inp);
150 (*up->u_tun_func)(n, off, inp, (struct sockaddr *)fromsa,
152 INP_RLOCK(inp);
153 return (in_pcbrele_rlocked(inp));
158 if (IPSEC_CHECK_POLICY(ipv6, n, inp) != 0) {
165 if (mac_inpcb_check_deliver(inp,
197 struct inpcb *inp; local
553 struct inpcb *inp; local
601 struct inpcb *inp; local
643 udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6, struct mbuf *control, struct thread *td) argument
920 struct inpcb *inp; local
955 struct inpcb *inp; local
1003 struct inpcb *inp; local
1052 struct inpcb *inp; local
1086 struct inpcb *inp; local
1177 struct inpcb *inp; local
1198 struct inpcb *inp; local
1242 struct inpcb *inp; local
[all...]
H A Din6_pcbgroup.c133 in6_pcbgroup_byinpcb(struct inpcb *inp) argument
145 if (inp->inp_flags2 & INP_RSS_BUCKET_SET)
146 return (&inp->inp_pcbinfo->ipi_pcbgroups[inp->inp_rss_listen_bucket]);
149 return (in6_pcbgroup_bytuple(inp->inp_pcbinfo, &inp->in6p_laddr,
150 inp->inp_lport, &inp->in6p_faddr, inp->inp_fport));
/freebsd-11-stable/sbin/fsck_ffs/
H A Dpass3.c51 struct inoinfo *inp; local
69 inp = inpsort[inpindex];
70 state = inoinfo(inp->i_number)->ino_state;
71 if (inp->i_number == ROOTINO ||
72 (inp->i_parent != 0 && !S_IS_DUNFOUND(state)))
84 if (inp->i_dotdot >= ROOTINO)
85 inoinfo(inp->i_dotdot)->ino_linkcnt++;
89 orphan = inp->i_number;
90 if (inp->i_parent == 0 ||
91 !INO_IS_DUNFOUND(inp
[all...]
H A Dpass2.c63 struct inoinfo **inpp, *inp; local
150 inp = *inpp;
151 if (inp->i_isize == 0)
153 if (inp->i_isize < MINDIRSIZE) {
154 direrror(inp->i_number, "DIRECTORY TOO SHORT");
155 inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ);
157 dp = ginode(inp->i_number);
158 DIP_SET(dp, di_size, inp->i_isize);
161 } else if ((inp->i_isize & (DIRBLKSIZ - 1)) != 0) {
162 getpathname(pathbuf, inp
277 struct inoinfo *inp; local
521 fix_extraneous(struct inoinfo *inp, struct inodesc *idesc) argument
[all...]
/freebsd-11-stable/sys/netipsec/
H A Dipsec_pcb.c58 ipsec_setsockaddrs_inpcb(struct inpcb *inp, union sockaddr_union *src, argument
63 if (inp->inp_vflag & INP_IPV6) {
77 sin6->sin6_addr = inp->in6p_laddr;
78 sin6->sin6_port = inp->inp_lport;
79 if (IN6_IS_SCOPE_LINKLOCAL(&inp->in6p_laddr)) {
83 inp->in6p_laddr.s6_addr16[1]);
90 sin6->sin6_addr = inp->in6p_faddr;
91 sin6->sin6_port = inp->inp_fport;
92 if (IN6_IS_SCOPE_LINKLOCAL(&inp->in6p_faddr)) {
96 inp
129 ipsec_setspidx_inpcb(struct inpcb *inp, struct secpolicyindex *spidx, u_int dir) argument
154 ipsec_init_pcbpolicy(struct inpcb *inp) argument
169 ipsec_delete_pcbpolicy(struct inpcb *inp) argument
272 ipsec_set_pcbpolicy(struct inpcb *inp, struct ucred *cred, void *request, size_t len) argument
360 ipsec_get_pcbpolicy(struct inpcb *inp, void *request, size_t *len) argument
418 ipsec_control_pcbpolicy(struct inpcb *inp, struct sockopt *sopt) argument
461 ipsec4_pcbctl(struct inpcb *inp, struct sockopt *sopt) argument
475 ipsec6_pcbctl(struct inpcb *inp, struct sockopt *sopt) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/whrlpool/
H A Dwhrlpool.h31 int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes);
32 void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);
34 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
/freebsd-11-stable/bin/dd/
H A Dconv.c60 u_char *inp; local
65 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
66 *inp = t[*inp];
104 u_char *inp, *outp; local
117 for (inp = in.db, cnt = in.dbrcnt; cnt && *inp++ != '\n'; --cnt)
127 in.dbp = inp + cnt - 1;
135 for (inp
218 u_char *inp; local
[all...]
/freebsd-11-stable/sys/net/
H A Dif_enc.h36 struct inpcb *inp; member in struct:ipsec_ctx_data
/freebsd-11-stable/sys/security/mac/
H A Dmac_inet.c99 mac_inpcb_init(struct inpcb *inp, int flag) argument
103 inp->inp_label = mac_inpcb_label_alloc(flag);
104 if (inp->inp_label == NULL)
107 inp->inp_label = NULL;
155 mac_inpcb_destroy(struct inpcb *inp) argument
158 if (inp->inp_label != NULL) {
159 mac_inpcb_label_free(inp->inp_label);
160 inp->inp_label = NULL;
183 mac_inpcb_create(struct socket *so, struct inpcb *inp) argument
186 MAC_POLICY_PERFORM_NOSLEEP(inpcb_create, so, so->so_label, inp,
233 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) argument
355 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) argument
378 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) argument
392 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) argument
485 mac_syncache_create(struct label *label, struct inpcb *inp) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/rc4/asm/
H A Drc4-586.pl69 $inp="esi";
119 &movq ("mm2",&QWP(0,$inp)) if ($i==1);
120 &movq (&QWP(-8,(@XX[0],$inp)),"mm1") if ($i==0);
141 &movq ("mm0",&QWP(0,$inp)) if ($i<=0);
142 &movq (&QWP(-8,($out,$inp)),"mm2") if ($i==0);
155 # void RC4(RC4_KEY *key,size_t len,const unsigned char *inp,unsigned char *out);
159 &mov ($inp,&wparam(2)); # load inp
172 &lea ($tx,&DWP(0,$inp,$ty));
173 &sub ($out,$inp); # r
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_listen.c90 alloc_lctx(struct tom_data *td, struct inpcb *inp, int qset) argument
94 INP_WLOCK_ASSERT(inp);
106 lctx->inp = inp;
107 in_pcbref(inp);
120 struct inpcb *inp = lctx->inp; local
122 INP_WLOCK_ASSERT(inp);
129 CTR4(KTR_CXGB, "%s: stid %u, lctx %p, inp %p",
130 __func__, lctx->stid, lctx, lctx->inp);
170 listen_hash_find(struct tom_data *td, struct inpcb *inp) argument
189 listen_hash_del(struct tom_data *td, struct inpcb *inp) argument
215 struct inpcb *inp = lctx->inp; local
230 struct inpcb *inp = lctx->inp; local
284 struct inpcb *inp = lctx->inp; local
315 struct inpcb *inp; local
346 ("%s: inp %p still in listen hash", __func__, inp)); local
486 struct inpcb *inp; local
684 struct inpcb *inp = lctx->inp, *new_inp; local
790 struct inpcb *inp = tp->t_inpcb; local
873 struct inpcb *inp = tp->t_inpcb; local
997 struct inpcb *inp = lctx->inp; local
1048 struct inpcb *inp = lctx->inp; local
1086 struct inpcb *inp = lctx->inp; local
1120 struct inpcb *inp = sotoinpcb(so); local
[all...]
/freebsd-11-stable/tools/debugscripts/
H A Dkld_deb.py70 def searchfor(inp, re, j = 0, l = None):
71 """searchfor(inp, re, j, l): Searches for regex re in inp. It will
77 l = inp.readline()
81 l += inp.readline()
83 l = inp.readline()
88 def get_addresses(inp, out):
89 """get_addresses(inp, out): It will search for addresses from gdb.
90 inp and out, are the gdb input and output respectively. Return value is
101 l = searchfor(inp, printr
[all...]
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_listen.c193 alloc_lctx(struct adapter *sc, struct inpcb *inp, struct vi_info *vi) argument
197 INP_WLOCK_ASSERT(inp);
203 lctx->stid = alloc_stid(sc, lctx, inp->inp_vflag & INP_IPV6);
209 if (inp->inp_vflag & INP_IPV6 &&
210 !IN6_ARE_ADDR_EQUAL(&in6addr_any, &inp->in6p_laddr)) {
211 lctx->ce = t4_hold_lip(sc, &inp->in6p_laddr, NULL);
222 lctx->inp = inp;
223 lctx->vnet = inp->inp_socket->so_vnet;
224 in_pcbref(inp);
233 struct inpcb *inp = lctx->inp; local
284 listen_hash_find(struct adapter *sc, struct inpcb *inp) argument
304 listen_hash_del(struct adapter *sc, struct inpcb *inp) argument
331 struct inpcb *inp = lctx->inp; local
417 struct inpcb *inp = lctx->inp; local
445 struct inpcb *inp = lctx->inp; local
505 struct inpcb *inp = tp->t_inpcb; local
599 struct inpcb *inp = tp->t_inpcb; local
652 struct inpcb *inp; local
683 struct inpcb *inp = synqe->lctx->inp; local
731 struct inpcb *inp = lctx->inp; local
758 ("%s: inp %p still in listen hash", __func__, inp)); local
806 struct inpcb *inp = lctx->inp; local
836 struct inpcb *inp = lctx->inp; local
869 struct inpcb *inp = lctx->inp; local
916 struct inpcb *inp = lctx->inp; local
946 struct inpcb *inp = sotoinpcb(so); local
1243 struct inpcb *inp; local
1496 struct inpcb *inp = lctx->inp, *new_inp; local
[all...]

Completed in 333 milliseconds

1234567891011