Home
last modified time | relevance | path

Searched refs:netp (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_input.c1334 struct sctp_inpcb *inp, struct sctp_nets **netp,
1350 struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets **netp, in sctp_process_cookie_existing() argument
1374 net = *netp; in sctp_process_cookie_existing()
1741 inp, netp, init_src, notification, in sctp_process_cookie_existing()
1958 struct sctp_inpcb *inp, struct sctp_nets **netp, in sctp_process_cookie_new() argument
2193 *netp = sctp_findnet(stcb, init_src); in sctp_process_cookie_new()
2194 if (*netp != NULL) { in sctp_process_cookie_new()
2199 (*netp)->hb_responded = 1; in sctp_process_cookie_new()
2238 struct sctp_inpcb **inp_p, struct sctp_tcb **stcb, struct sctp_nets **netp, in sctp_handle_cookie_echo() argument
2490 *stcb = sctp_findassociation_ep_addr(inp_p, to, netp, dst, NULL); in sctp_handle_cookie_echo()
[all …]
H A Dsctp_pcb.c870 struct sockaddr *to, struct sctp_nets **netp, uint32_t vrf_id) in sctp_tcb_special_locate() argument
1070 if (netp != NULL) { in sctp_tcb_special_locate()
1071 *netp = net; in sctp_tcb_special_locate()
1094 if (netp != NULL) { in sctp_tcb_special_locate()
1095 *netp = net; in sctp_tcb_special_locate()
1130 struct sctp_nets **netp, struct sockaddr *local, struct sctp_tcb *locked_tcb) in sctp_findassociation_ep_addr() argument
1174 netp, inp->def_vrf_id); in sctp_findassociation_ep_addr()
1236 if (netp != NULL) { in sctp_findassociation_ep_addr()
1237 *netp = net; in sctp_findassociation_ep_addr()
1266 if (netp != NULL) { in sctp_findassociation_ep_addr()
[all …]
H A Dsctp_indata.c4302 struct sctp_nets *netp; in sctp_express_handle_sack() local
4311 netp = asoc->alternate; in sctp_express_handle_sack()
4313 netp = asoc->primary_destination; in sctp_express_handle_sack()
4315 sctp_send_shutdown(stcb, netp); in sctp_express_handle_sack()
4317 stcb->sctp_ep, stcb, netp); in sctp_express_handle_sack()
4322 struct sctp_nets *netp; in sctp_express_handle_sack() local
4328 netp = asoc->alternate; in sctp_express_handle_sack()
4330 netp = asoc->primary_destination; in sctp_express_handle_sack()
4332 sctp_send_shutdown_ack(stcb, netp); in sctp_express_handle_sack()
4334 stcb->sctp_ep, stcb, netp); in sctp_express_handle_sack()
[all …]
H A Dsctp_usrreq.c714 struct sctp_nets *netp; in sctp_disconnect() local
723 netp = stcb->asoc.alternate; in sctp_disconnect()
725 netp = stcb->asoc.primary_destination; in sctp_disconnect()
727 sctp_send_shutdown(stcb, netp); in sctp_disconnect()
729 stcb->sctp_ep, stcb, netp); in sctp_disconnect()
785 struct sctp_nets *netp; in sctp_shutdown() local
915 netp = stcb->asoc.alternate; in sctp_shutdown()
917 netp = stcb->asoc.primary_destination; in sctp_shutdown()
930 sctp_send_shutdown(stcb, netp); in sctp_shutdown()
932 stcb->sctp_ep, stcb, netp); in sctp_shutdown()
H A Dsctp_output.c13589 struct sctp_nets *netp; in sctp_lower_sosend() local
13598 netp = asoc->alternate; in sctp_lower_sosend()
13600 netp = asoc->primary_destination; in sctp_lower_sosend()
13602 sctp_send_shutdown(stcb, netp); in sctp_lower_sosend()
13604 netp); in sctp_lower_sosend()
/freebsd/contrib/libpcap/
H A Dpcap-null.c48 pcap_lookupnet(const char *device _U_, bpf_u_int32 *netp _U_, in pcap_lookupnet()
H A Dpcap-npf.c2662 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, in pcap_lookupnet() argument
2675 *netp = *maskp = 0; in pcap_lookupnet()
2684 *netp = t_addr->sin_addr.S_un.S_addr; in pcap_lookupnet()
2688 *netp &= *maskp; in pcap_lookupnet()
2694 *netp = *maskp = 0; in pcap_lookupnet()
H A Dpcap.c1600 pcap_lookupnet(const char *device, bpf_u_int32 *netp, bpf_u_int32 *maskp, argument
1636 *netp = *maskp = 0;
1676 *netp = sin4->sin_addr.s_addr;
1697 if (IN_CLASSA(*netp))
1699 else if (IN_CLASSB(*netp))
1701 else if (IN_CLASSC(*netp))
1705 "inet class for 0x%x unknown", *netp);
1709 *netp &= *maskp;
/freebsd/sbin/routed/
H A Dparms.c929 naddr *netp, /* network in host byte order */ in getnet() argument
998 *netp = in.s_addr; in getnet()