Home
last modified time | relevance | path

Searched refs:link_type (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/netinet/libalias/
H A Dalias_db.c101 struct in_addr alias_addr, u_short alias_port, int link_type, in StartPointIn() argument
108 .link_type = link_type in StartPointIn()
116 grp->link_type = link_type; in StartPointIn()
241 lnk->link_type == LINK_UDP) { in GetNewPort()
246 la, lnk->src_addr, lnk->src_port, lnk->link_type); in GetNewPort()
268 grp = StartPointIn(la, lnk->alias_addr, port, lnk->link_type, 0); in GetNewPort()
276 lnk->link_type == LINK_UDP) in GetNewPort()
300 ((lnk->link_type == LINK_TCP) || in GetNewPort()
301 (lnk->link_type == LINK_UDP))) { in GetNewPort()
302 if (!GetSocket(la, port, &lnk->sockfd, lnk->link_type)) { in GetNewPort()
[all …]
H A Dalias_db.h269 int link_type; member
363 i = a->link_type - b->link_type; in cmp_out()
372 i = a->link_type - b->link_type; in cmp_in()
382 int i = a->link_type - b->link_type; in cmp_internal_endpoint()
H A Dalias_local.h82 int link_type; member
241 int alias_param, int link_type);
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c69 int link_type; in ng_hci_lp_con_req() local
91 link_type = ((ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data))->link_type; in ng_hci_lp_con_req()
92 switch(link_type){ in ng_hci_lp_con_req()
109 return (ng_hci_lp_le_con_req(unit, item, hook, link_type)); in ng_hci_lp_con_req()
191 cfm->link_type = con->link_type; in ng_hci_lp_acl_con_req()
343 if (acl_con->link_type == NG_HCI_LINK_ACL && in ng_hci_lp_sco_con_req()
389 if (sco_con->link_type == NG_HCI_LINK_SCO && in ng_hci_lp_sco_con_req()
486 ng_hci_lp_le_con_req(ng_hci_unit_p unit, item_p item, hook_p hook, int link_type) in ng_hci_lp_le_con_req() argument
498 if((link_type != NG_HCI_LINK_LE_PUBLIC)&& in ng_hci_lp_le_con_req()
499 (link_type != NG_HCI_LINK_LE_RANDOM)){ in ng_hci_lp_le_con_req()
[all …]
H A Dng_hci_misc.c218 ng_hci_get_neighbor(ng_hci_unit_p unit, bdaddr_p bdaddr,int link_type) in ng_hci_get_neighbor() argument
226 if (n->addrtype == link_type && in ng_hci_get_neighbor()
257 ng_hci_new_con(ng_hci_unit_p unit, int link_type) in ng_hci_new_con() argument
287 con->link_type = link_type; in ng_hci_new_con()
289 if (con->link_type != NG_HCI_LINK_SCO) in ng_hci_new_con()
318 if (con->link_type != NG_HCI_LINK_SCO) in ng_hci_free_con()
350 ng_hci_con_by_bdaddr(ng_hci_unit_p unit, bdaddr_p bdaddr, int link_type) in ng_hci_con_by_bdaddr() argument
355 if (con->link_type == link_type && in ng_hci_con_by_bdaddr()
H A Dng_hci_evnt.c254 send_data_packets(ng_hci_unit_p unit, int link_type, int limit) in send_data_packets()
271 reallink_type = (con->link_type == NG_HCI_LINK_SCO)? in send_data_packets()
273 if (reallink_type != link_type){ in send_data_packets()
359 hook = (con->link_type != NG_HCI_LINK_SCO)? unit->acl : unit->sco; in sync_con_queue()
477 int link_type; in le_connection_complete()
485 link_type = (ep->address_type)? NG_HCI_LINK_LE_RANDOM : in le_connection_complete()
490 * 1) con->link_type == link_type in le_connection_complete()
495 if (con->link_type == link_type in le_connection_complete()
252 send_data_packets(ng_hci_unit_p unit,int link_type,int limit) send_data_packets() argument
475 int link_type; le_connection_complete() local
[all...]
H A Dng_hci_main.c542 e2->link_type = c->link_type; in ng_hci_default_rcvmsg()
852 if (con->link_type == NG_HCI_LINK_SCO) { in ng_hci_acl_rcvdata()
856 con_handle, con->link_type); in ng_hci_acl_rcvdata()
971 if (con->link_type != NG_HCI_LINK_SCO) { in ng_hci_sco_rcvdata()
975 con_handle, con->link_type); in ng_hci_sco_rcvdata()
H A Dng_hci_var.h184 u_int8_t link_type; /* ACL or SCO */ member
H A Dng_hci_cmds.c514 } else if (con->link_type != NG_HCI_LINK_ACL) { in process_link_policy_params()
517 con->link_type); in process_link_policy_params()
/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dutil.c42 hci_link2str(int link_type) in hci_link2str() argument
49 return (link_type >= SIZE(t)? "?" : t[link_type]); in hci_link2str()
H A Dnode.c317 (r.connections[n].link_type == NG_HCI_LINK_ACL)? in hci_read_connection_list()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_hci.h467 u_int16_t link_type; /* type of connection */
487 u_int8_t link_type; /* link type */
495 u_int8_t link_type; /* link type */
504 u_int8_t link_type; /* link type */
512 u_int8_t link_type; /* link type */
545 uint8_t link_type;
646 u_int8_t link_type; /* ACL or SCO */
1891 u_int8_t link_type; /* Link type */
1899 u_int8_t link_type; /* link type */
2049 u_int8_t link_type; /* Lin
465 u_int16_t link_type; /* type of connection */ global() member
485 u_int8_t link_type; /* link type */ global() member
493 u_int8_t link_type; /* link type */ global() member
502 u_int8_t link_type; /* link type */ global() member
510 u_int8_t link_type; /* link type */ global() member
543 uint8_t link_type; global() member
644 u_int8_t link_type; /* ACL or SCO */ global() member
1831 u_int8_t link_type; /* Link type */ global() member
1839 u_int8_t link_type; /* link type */ global() member
1989 u_int8_t link_type; /* Link type */ global() member
[all...]
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c112 ep->link_type = type; in ng_l2cap_lp_con_req()
157 con = ng_l2cap_con_by_addr(l2cap, &ep->bdaddr, ep->link_type); in ng_l2cap_lp_con_cfm()
227 con = ng_l2cap_con_by_addr(l2cap, &ep->bdaddr, ep->link_type); in ng_l2cap_lp_con_ind()
248 con = ng_l2cap_new_con(l2cap, &ep->bdaddr, ep->link_type); in ng_l2cap_lp_con_ind()
263 rp->link_type = NG_HCI_LINK_ACL; in ng_l2cap_lp_con_ind()
529 (ch->con->linktype == ep->link_type)) in ng_l2cap_lp_enc_change()
/freebsd/contrib/tcpdump/
H A Dprint-lmp.c433 u_int link_type; in lmp_print() local
1025 link_type = GET_U_1(obj_tptr); in lmp_print()
1029 "Unknown", link_type), in lmp_print()
1030 link_type); in lmp_print()
1032 switch (link_type) { in lmp_print()
H A Dprint-olsr.c323 uint8_t link_type, neighbor_type; in olsr_print() local
447 link_type = OLSR_EXTRACT_LINK_TYPE(GET_U_1(ptr.hello_link->link_code)); in olsr_print()
455 tok2str(olsr_link_type_values, "Unknown", link_type), in olsr_print()
H A Dprint-ospf6.c158 nd_uint8_t link_type; member
512 switch (GET_U_1(rlp->link_type)) { in ospf6_print_lsa()
540 GET_U_1(rlp->link_type)); in ospf6_print_lsa()
H A Dospf.h156 nd_uint8_t link_type; member
H A Dprint-ospf.c655 switch (GET_U_1(rlp->un_tos.link.link_type)) { in ospf_print_lsa()
683 GET_U_1(rlp->un_tos.link.link_type)); in ospf_print_lsa()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mac.c171 dpaa2_mac_link_type_to_str(sc->attr.link_type)); in dpaa2_mac_attach()
381 dpaa2_mac_link_type_to_str(enum dpaa2_mac_link_type link_type) in dpaa2_mac_link_type_to_str() argument
383 switch (link_type) { in dpaa2_mac_link_type_to_str()
H A Ddpaa2_mac.h83 enum dpaa2_mac_link_type link_type; member
H A Ddpaa2_ni.c714 enum dpaa2_mac_link_type link_type; in dpaa2_ni_setup() local
820 link_type = DPAA2_MAC_LINK_TYPE_NONE; in dpaa2_ni_setup()
840 link_type = DPAA2_MAC_LINK_TYPE_FIXED; in dpaa2_ni_setup()
850 link_type = attr.link_type; in dpaa2_ni_setup()
855 if (link_type == DPAA2_MAC_LINK_TYPE_FIXED) { in dpaa2_ni_setup()
859 } else if (link_type == DPAA2_MAC_LINK_TYPE_PHY) { in dpaa2_ni_setup()
H A Ddpaa2_rc.c2377 uint8_t link_type; in dpaa2_rc_mac_get_attributes() member
2409 attr->link_type = resp->link_type; in dpaa2_rc_mac_get_attributes()
/freebsd/contrib/libpcap/
H A Dpcap-airpcap.c761 AirpcapLinkType link_type; in airpcap_activate() local
861 if (!p_AirpcapGetLinkType(pa->adapter, &link_type)) { in airpcap_activate()
868 switch (link_type) { in airpcap_activate()
887 link_type); in airpcap_activate()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_sco.c618 ep->link_type = NG_HCI_LINK_SCO; in ng_btsocket_sco_send_lp_con_req()
647 ep->link_type = NG_HCI_LINK_SCO; in ng_btsocket_sco_send_lp_con_rsp()
/freebsd/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c657 unsigned long link_type; member
919 file_hdr.link_type = 0x0065; /* 101 RAW IP */ in swrap_get_pcap_fd()

12