Home
last modified time | relevance | path

Searched refs:SOCK_RAW (Results 26 – 50 of 78) sorted by relevance

1234

/dragonfly/sbin/dhclient/
H A Dbpf.c108 if ((sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP)) == -1) in if_register_send()
/dragonfly/usr.sbin/sshlockout/
H A Dsshlockout.c215 ipfw_sock = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); in parse_args()
/dragonfly/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c81 s = socket(PF_ROUTE, SOCK_RAW, 0); in main()
/dragonfly/sys/netinet6/
H A Din6_gif.c80 .pr_type = SOCK_RAW,
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_wired.c176 drv->common.sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE)); in wired_init_sockets()
H A Ddriver_nl80211_monitor.c404 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
/dragonfly/sys/netinet/
H A Din_gif.c77 .pr_type = SOCK_RAW,
H A Dip_input.c341 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW); in ip_init()
2287 if (so->so_type != SOCK_RAW || in ip_rsvp_init()
/dragonfly/tools/tools/net80211/wesside/dics/
H A Ddics.c355 s = socket (PF_INET, SOCK_RAW, IPPROTO_UDP); in main()
/dragonfly/tools/tools/net80211/wlanwds/
H A Dwlanwds.c146 s = socket(PF_ROUTE, SOCK_RAW, 0); in main()
/dragonfly/usr.sbin/rrenumd/
H A Dparser.y195 hints.ai_socktype = SOCK_RAW;
/dragonfly/usr.sbin/ppp/
H A Droute.c745 s = ID0socket(PF_ROUTE, SOCK_RAW, 0); in rt_Set()
863 s = ID0socket(PF_ROUTE, SOCK_RAW, 0); in rt_Update()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Diapp.c479 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in iapp_init()
H A Dvlan_full.c763 priv->s = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in full_dynamic_vlan_init()
/dragonfly/lib/libc/net/
H A Dgetaddrinfo.c162 { PF_INET6, SOCK_RAW, ANY, NULL, 0x05 },
166 { PF_INET, SOCK_RAW, ANY, NULL, 0x05 },
169 { PF_UNSPEC, SOCK_RAW, ANY, NULL, 0x05 },
1288 case SOCK_RAW: in get_port()
/dragonfly/sbin/ping6/
H A Dping6.c457 hints.ai_socktype = SOCK_RAW; in main()
530 hints.ai_socktype = SOCK_RAW; in main()
563 ghints.ai_socktype = SOCK_RAW; in main()
/dragonfly/share/examples/netgraph/
H A Dngctl36 # of type SOCK_RAW, and protocol IPPROTO_DIVERT:
/dragonfly/sys/net/stf/
H A Dif_stf.c137 .pr_type = SOCK_RAW,
/dragonfly/usr.sbin/arp/
H A Darp.c260 s = socket(PF_ROUTE, SOCK_RAW, 0); in getsocket()
/dragonfly/sbin/routed/
H A Dmain.c279 rt_sock = socket(AF_ROUTE, SOCK_RAW, 0); in main()
H A Drdisc.c147 rdisc_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in get_rdisc_sock()
/dragonfly/usr.sbin/rtadvd/
H A Drtadvd.c1559 if ((s->si_fd = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) { in sock_open()
1620 if ((s->si_fd = socket(PF_ROUTE, SOCK_RAW, 0)) < 0) { in rtsock_open()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c671 r = socket(PF_ROUTE, SOCK_RAW, 0); in update_arptab()
/dragonfly/sys/net/ip_mroute/
H A Dip_mroute.c566 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_IGMP) in ip_mrouter_init()
2034 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_RSVP) in X_ip_rsvp_vif()
2089 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_RSVP) in X_ip_rsvp_force_done()
/dragonfly/usr.sbin/btconfig/
H A Dbtconfig.c236 hci = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); in main()

1234