/freebsd/ |
H A D | ObsoleteFiles.inc | 1477 OLD_FILES+=usr/tests/sbin/md5/1.inp 1480 OLD_FILES+=usr/tests/sbin/md5/2.inp 1483 OLD_FILES+=usr/tests/sbin/md5/3.inp 1486 OLD_FILES+=usr/tests/sbin/md5/4.inp 1489 OLD_FILES+=usr/tests/sbin/md5/5.inp 1492 OLD_FILES+=usr/tests/sbin/md5/6.inp 1495 OLD_FILES+=usr/tests/sbin/md5/7.inp 1498 OLD_FILES+=usr/tests/sbin/md5/8.inp
|
/freebsd/sys/net/ |
H A D | if_ovpn.c | 2218 ovpn_udp_input(struct mbuf *m, int off, struct inpcb *inp, in ovpn_udp_input() argument
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 8619 in6_losing(inp); in rack_timeout_rxt() 8622 in_losing(inp); in rack_timeout_rxt() 20034 struct inpcb *inp; in rack_fast_rsm_output() local 20625 struct inpcb *inp; in rack_fast_output() local 20986 0, 0, inp); in rack_fast_output() 23720 inp); in rack_output() 25953 INP_WUNLOCK(inp); in rack_set_sockopt() 26085 INP_WUNLOCK(inp); in rack_set_sockopt() 26103 INP_WLOCK(inp); in rack_set_sockopt() 26125 INP_WUNLOCK(inp); in rack_set_sockopt() [all …]
|
H A D | bbr.c | 957 struct inpcb *inp; in bbr_timer_audit() local 971 inp = bbr->rc_inp; in bbr_timer_audit() 5170 in6_losing(inp); in bbr_timeout_rxt() 5173 in_losing(inp); in bbr_timeout_rxt() 13585 error = ip_output(m, inp->inp_options, &inp->inp_route, in bbr_output_wtime() 13587 inp); in bbr_output_wtime() 13918 (inp->inp_route.ro_nh->nh_ifp != inp->inp_snd_tag->ifp)) { in bbr_output_wtime() 14215 INP_WUNLOCK(inp); in bbr_set_sockopt() 14219 INP_WLOCK(inp); in bbr_set_sockopt() 14544 INP_WUNLOCK(inp); in bbr_set_sockopt() [all …]
|
/freebsd/sys/netinet/ |
H A D | sctp_pcb.h | 342 #define sctp_lport ip_inp.inp.inp_lport 359 struct inpcb inp; member 554 struct sctp_tcb *sctp_findasoc_ep_asocid_locked(struct sctp_inpcb *inp, sctp_assoc_t asoc_id, int w… 614 int sctp_swap_inpcb_for_listen(struct sctp_inpcb *inp);
|
H A D | sctputil.c | 98 sctp_clog.x.close.inp = (void *)inp; in sctp_log_closing() 355 if (inp) { in sctp_log_lock() 361 sctp_clog.x.lock.inp = (void *)inp; in sctp_log_lock() 367 if (inp) { in sctp_log_lock() 375 if (inp && (inp->sctp_socket)) { in sctp_log_lock() 1160 if (inp->ip_inp.inp.inp_flags & IN6P_AUTOFLOWLABEL) { in sctp_init_asoc() 1494 it->inp = LIST_NEXT(it->inp, sctp_list); in sctp_iterator_work() 1605 it->inp = LIST_NEXT(it->inp, sctp_list); in sctp_iterator_work() 2048 inp = NULL; in sctp_timeout_handler() 4877 sctp_sorwakeup(inp, inp->sctp_socket); in sctp_wakeup_the_read_socket() [all …]
|
H A D | sctp_input.c | 96 SCTP_INP_RLOCK(inp); in sctp_handle_init() 163 SCTP_INP_RUNLOCK(inp); in sctp_handle_init() 1513 inp, stcb, NULL); in sctp_process_cookie_existing() 2712 *inp_p = inp; in sctp_handle_cookie_echo() 4878 inp->sctp_socket->sol_qlen >= inp->sctp_socket->sol_qlimit))) { in sctp_process_control() 4902 linp = inp; in sctp_process_control() 5354 inp_decr = inp; in sctp_common_input_processing() 5385 inp_decr = inp; in sctp_common_input_processing() 5414 if (inp == NULL) { in sctp_common_input_processing() 5445 inp_decr = inp; in sctp_common_input_processing() [all …]
|
H A D | sctp_output.c | 2480 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_inp() 2789 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_select_nth_preferred_addr_from_ifn_boundall() 2796 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_select_nth_preferred_addr_from_ifn_boundall() 2897 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_count_num_preferred_boundall() 2905 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_count_num_preferred_boundall() 3105 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundall() 3113 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_choose_boundall() 4064 tos_value = inp->ip_inp.inp.inp_ip_tos; in sctp_lowlevel_chunk_output() 4078 ip->ip_ttl = inp->ip_inp.inp.inp_ip_ttl; in sctp_lowlevel_chunk_output() 6676 if (ca->inp != inp) { in sctp_sendall_iterator() [all …]
|
H A D | sctp_pcb.c | 2403 memset(inp, 0, sizeof(*inp)); in sctp_inpcb_alloc() 2408 inp->ip_inp.inp.inp_socket = so; in sctp_inpcb_alloc() 2439 crfree(inp->ip_inp.inp.inp_cred); in sctp_inpcb_alloc() 2471 crfree(inp->ip_inp.inp.inp_cred); in sctp_inpcb_alloc() 2491 crfree(inp->ip_inp.inp.inp_cred); in sctp_inpcb_alloc() 2840 ip_inp = &inp->ip_inp.inp; in sctp_inpcb_bind_locked() 3252 if (it && (it->inp == inp)) { in sctp_iterator_inp_being_freed() 3281 if (it->inp == inp) { in sctp_iterator_inp_being_freed() 3674 crfree(inp->ip_inp.inp.inp_cred); in sctp_inpcb_free() 3675 INP_LOCK_DESTROY(&inp->ip_inp.inp); in sctp_inpcb_free() [all …]
|
H A D | sctp_usrreq.c | 291 inp = NULL; in sctp_ctlinput() 479 ip_inp = &inp->ip_inp.inp; in sctp_attach() 622 inp->pkt_last = inp->pkt = m; in sctp_sendm() 640 ret = sctp_output(inp, inp->pkt, addr, inp->control, p, flags); in sctp_sendm() 790 MPASS(inp); in sctp_shutdown() 1097 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_fill_up_addresses_vrf() 1145 if (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_fill_up_addresses_vrf() 1328 size = sctp_max_size_addresses_vrf(inp, inp->def_vrf_id); in sctp_max_size_addresses() 5898 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, 5913 if (prison_check_ip6(inp->ip_inp.inp.inp_cred, [all …]
|
H A D | sctp_indata.c | 182 sctp_is_feature_off(inp, SCTP_PCB_FLAGS_RECVRCVINFO) && in sctp_build_ctl_nchunk() 183 sctp_is_feature_off(inp, SCTP_PCB_FLAGS_RECVNXTINFO)) { in sctp_build_ctl_nchunk() 189 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVRCVINFO)) { in sctp_build_ctl_nchunk() 193 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVNXTINFO) && in sctp_build_ctl_nchunk() 200 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVDATAIOEVNT)) { in sctp_build_ctl_nchunk() 201 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_EXT_RCVINFO)) { in sctp_build_ctl_nchunk() 226 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVRCVINFO)) { in sctp_build_ctl_nchunk() 264 if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVDATAIOEVNT)) { in sctp_build_ctl_nchunk() 751 struct sctp_inpcb *inp, uint32_t tsn) in sctp_reset_a_control() argument 759 TAILQ_REMOVE(&inp->read_queue, control, next); in sctp_reset_a_control() [all …]
|
H A D | tcp_output.c | 192 struct inpcb *inp = tptoinpcb(tp); in tcp_default_output() local 230 INP_WLOCK_ASSERT(inp); in tcp_default_output() 548 ipoptlen = ip6_optlen(inp); in tcp_default_output() 551 if (inp->inp_options) in tcp_default_output() 552 ipoptlen = inp->inp_options->m_len - in tcp_default_output() 1150 mac_inpcb_create_mbuf(inp, m); in tcp_default_output() 1466 error = ip6_output(m, inp->in6p_outputopts, &inp->inp_route6, in tcp_default_output() 1468 NULL, NULL, inp); in tcp_default_output() 1481 if (inp->inp_vflag & INP_IPV6PROTO) in tcp_default_output() 1511 error = ip_output(m, inp->inp_options, &inp->inp_route, in tcp_default_output() [all …]
|
H A D | tcp_subr.c | 1835 inp = NULL; in tcp_respond() 2588 return (inp); in tcp_notify() 2598 return (inp); in tcp_notify() 2880 inp = tcp_mtudisc(inp, mtu); in tcp_ctlinput_with_port() 2883 inp = (*notify)(inp, errno); in tcp_ctlinput_with_port() 3076 inp = (*notify)(inp, errno); in tcp6_ctlinput_with_port() 3283 return (inp); in tcp_drop_syn_sent() 3290 return (inp); in tcp_drop_syn_sent() 3358 return (inp); in tcp_mtudisc() 3599 inp = NULL; in sysctl_drop() [all …]
|
H A D | tcp_var.h | 651 #define intotcpcb(inp) __containerof((inp), struct tcpcb, t_inpcb) argument 665 struct inpcb *inp = tptoinpcb(tp); in tcp_output() local 668 INP_WLOCK_ASSERT(inp); in tcp_output() 677 INP_WUNLOCK(inp); in tcp_output() 691 struct inpcb *inp = tptoinpcb(tp); in tcp_output_unlock() local 694 INP_WLOCK_ASSERT(inp); in tcp_output_unlock() 704 INP_WUNLOCK(inp); in tcp_output_unlock() 706 INP_WUNLOCK(inp); in tcp_output_unlock() 743 struct inpcb *inp = tptoinpcb(tp); in tcp_unlock_or_drop() local 745 INP_WLOCK_ASSERT(inp); in tcp_unlock_or_drop() [all …]
|
H A D | tcp_usrreq.c | 210 INP_WLOCK(inp); in tcp_usr_detach() 211 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach() 221 in_pcbfree(inp); in tcp_usr_detach() 238 INP_WLOCK(inp); in tcp_usr_bind() 294 INP_WLOCK(inp); in tcp6_usr_bind() 370 INP_WLOCK(inp); in tcp_usr_listen() 422 INP_WLOCK(inp); in tcp6_usr_listen() 490 INP_WLOCK(inp); in tcp_usr_connect() 560 INP_WLOCK(inp); in tcp6_usr_connect() 699 INP_WLOCK(inp); in tcp_usr_disconnect() [all …]
|
H A D | tcp_timer.c | 235 cpuid = rss_hash2cpuid(inp->inp_flowid, inp->inp_flowtype); in inp_to_cpuid() 317 INP_WLOCK_ASSERT(inp); in tcp_timer_delack() 336 INP_WLOCK_ASSERT(inp); in tcp_timer_2msl() 386 INP_WLOCK_ASSERT(inp); in tcp_timer_keep() 494 INP_WLOCK_ASSERT(inp); in tcp_timer_persist() 558 INP_WLOCK_ASSERT(inp); in tcp_timer_rexmt() 797 in6_losing(inp); in tcp_timer_rexmt() 800 in_losing(inp); in tcp_timer_rexmt() 899 INP_WUNLOCK(inp); in tcp_timer_enter() 979 INP_WUNLOCK(inp); in tcp_timer_stop() [all …]
|
H A D | tcp_input.c | 848 if (!inp) { in tcp_input_with_port() 880 if (!inp) { in tcp_input_with_port() 902 if (inp == NULL) { in tcp_input_with_port() 1415 if (inp != NULL) { in tcp_input_with_port() 1417 INP_UNLOCK(inp); in tcp_input_with_port() 1427 if (inp != NULL) in tcp_input_with_port() 1428 INP_UNLOCK(inp); in tcp_input_with_port() 3383 INP_WUNLOCK(inp); in tcp_do_segment() 3412 INP_WUNLOCK(inp); in tcp_do_segment() 3419 INP_WUNLOCK(inp); in tcp_do_segment() [all …]
|
H A D | in_pcb.c | 1034 inp->inp_lport = inp->inp_fport = 0; in in_pcbconnect() 1546 inp = II_LIST_NEXT(inp, hash)) { in inp_next() 1563 ii->inp = inp; in inp_next() 1571 inp = ii->inp; in inp_next() 1574 inp = II_LIST_NEXT(inp, hash); in inp_next() 1626 ii->inp = inp; in inp_next() 1667 uma_zfree_smr(inp->inp_pcbinfo->ipi_zone, inp); in in_pcbrele_rlocked() 1687 uma_zfree_smr(inp->inp_pcbinfo->ipi_zone, inp); in in_pcbrele_wlocked() 3154 inp->inp_label, inp->inp_flags); in db_print_inpcb() 3166 inp->inp_ip_ttl, inp->inp_ip_p, inp->inp_ip_minttl); in db_print_inpcb() [all …]
|
H A D | tcp_timewait.c | 115 INP_WLOCK_ASSERT(inp); in tcp_twstart() 139 INP_WUNLOCK(inp); in tcp_twstart() 144 INP_WUNLOCK(inp); in tcp_twstart() 165 INP_LOCK_ASSERT(inp); in tcp_twcheck() 170 INP_RLOCK_ASSERT(inp); in tcp_twcheck() 172 INP_WLOCK_ASSERT(inp); in tcp_twcheck() 236 INP_WUNLOCK(inp); in tcp_twcheck() 256 INP_UNLOCK(inp); in tcp_twcheck() 267 INP_WLOCK_ASSERT(inp); in tcp_twcheck() 297 INP_UNLOCK(inp); in tcp_twcheck() [all …]
|
/freebsd/usr.bin/netstat/ |
H A D | inet.c | 195 struct xinpcb *inp; in protopr() local 239 inp = &tp->xt_inp; in protopr() 242 so = &inp->xi_socket; in protopr() 256 inp = &tp->xt_inp; in protopr() 260 so = &inp->xi_socket; in protopr() 461 inp->inp_lport != inp->inp_fport, in protopr() 475 inp->inp_lport != inp->inp_fport); in protopr() 1516 hp = gethostbyaddr((char *)inp, sizeof (*inp), AF_INET); in inetname() 1527 inp->s_addr = ntohl(inp->s_addr); in inetname() 1530 C(inp->s_addr >> 24), C(inp->s_addr >> 16), in inetname() [all …]
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 1912 if (inp->inp_ip_p != IPPROTO_ICMPV6) in icmp6_rip6_match() 1933 struct inpcb *inp; in icmp6_rip6_input() local 1958 inp->in6p_icmp6filt)) in icmp6_rip6_input() 1994 ip6_savecontrol(inp, n, &opts); in icmp6_rip6_input() 2670 struct inpcb *inp = sotoinpcb(so); in icmp6_ctloutput() local 2698 INP_WLOCK(inp); in icmp6_ctloutput() 2699 *inp->in6p_icmp6filt = ic6f; in icmp6_ctloutput() 2700 INP_WUNLOCK(inp); in icmp6_ctloutput() 2717 INP_RLOCK(inp); in icmp6_ctloutput() 2718 ic6f = *inp->in6p_icmp6filt; in icmp6_ctloutput() [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pf.c | 3876 struct inpcb *inp; in pf_socket_lookup() local 3912 if (inp == NULL) { in pf_socket_lookup() 3916 if (inp == NULL) in pf_socket_lookup() 3925 if (inp == NULL) { in pf_socket_lookup() 3929 if (inp == NULL) in pf_socket_lookup() 3938 INP_RLOCK_ASSERT(inp); in pf_socket_lookup() 3941 INP_RUNLOCK(inp); in pf_socket_lookup() 4451 if (inp != NULL) { in pf_test_rule() 4452 INP_LOCK_ASSERT(inp); in pf_test_rule() 7871 struct inpcb *inp) in pf_test_eth() argument [all …]
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 228 INP_WLOCK_ASSERT(inp); in offload_socket() 250 toep->inp = inp; in offload_socket() 252 in_pcbref(inp); in offload_socket() 279 INP_WLOCK_ASSERT(inp); in undo_offload_socket() 295 toep->inp = NULL; in undo_offload_socket() 380 inp->inp_flags); in t4_pcb_detach() 385 inp->inp_flags); in t4_pcb_detach() 1007 struct inpcb *inp = toep->inp; in final_cpl_received() local 1016 __func__, toep->tid, toep, toep->flags, inp, inp->inp_flags); in final_cpl_received() 1020 toep->inp = NULL; in final_cpl_received() [all …]
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t6_kern_tls.c | 254 struct inpcb *inp = tlsp->inp; in ktls_act_open_rpl() local 261 INP_WLOCK(inp); in ktls_act_open_rpl() 264 INP_WUNLOCK(inp); in ktls_act_open_rpl() 380 struct inpcb *inp; in t6_tls_tag_alloc() local 460 inp = params->tls.inp; in t6_tls_tag_alloc() 461 INP_RLOCK(inp); in t6_tls_tag_alloc() 463 INP_RUNLOCK(inp); in t6_tls_tag_alloc() 467 tlsp->inp = inp; in t6_tls_tag_alloc() 482 INP_RUNLOCK(inp); in t6_tls_tag_alloc() 499 INP_RUNLOCK(inp); in t6_tls_tag_alloc() [all …]
|
/freebsd/sys/netipsec/ |
H A D | ipsec.h | 256 (_ctx)->inp = (_inp); \
|