Searched refs:sopt_name (Results 1 - 25 of 26) sorted by relevance

12

/darwin-on-arm/xnu/bsd/netinet/
H A Din_mcast.c1453 switch (sopt->sopt_name) {
1475 if (sopt->sopt_name == IP_BLOCK_SOURCE)
1512 if (sopt->sopt_name == MCAST_BLOCK_SOURCE)
1517 IGMP_PRINTF(("%s: unknown sopt_name %d\n",
1518 __func__, sopt->sopt_name));
1864 switch (sopt->sopt_name) {
2068 switch (sopt->sopt_name) {
2073 if (sopt->sopt_name == IP_ADD_MEMBERSHIP) {
2083 } else if (sopt->sopt_name == IP_ADD_SOURCE_MEMBERSHIP) {
2091 __func__, sopt->sopt_name, erro
[all...]
H A Dtcp_usrreq.c1329 !(sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_FLUSH)) {
1347 switch (sopt->sopt_name) {
1356 switch (sopt->sopt_name) {
1532 switch (sopt->sopt_name) {
H A Draw_ip.c523 !(sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_FLUSH))
530 switch (sopt->sopt_name) {
586 switch (sopt->sopt_name) {
H A Dip_fw2_compat.c3264 if (sopt->sopt_name == IP_OLD_FW_GET) {
3268 else if (sopt->sopt_name == IP_OLD_FW_FLUSH) {
3272 else if (sopt->sopt_name == IP_OLD_FW_ZERO) {
3276 else if (sopt->sopt_name == IP_OLD_FW_ADD) {
3280 else if (sopt->sopt_name == IP_OLD_FW_DEL) {
3284 else if (sopt->sopt_name == IP_OLD_FW_RESETLOG) {
3289 cmd = sopt->sopt_name;
H A Dip_output.c2305 switch (sopt->sopt_name) {
2328 return (ip_pcbopts(sopt->sopt_name, &inp->inp_options,
2345 switch (sopt->sopt_name) {
2520 optname = sopt->sopt_name;
2609 switch (sopt->sopt_name) {
2630 switch (sopt->sopt_name) {
H A Dip_mroute.c403 if (so != ip_mrouter && sopt->sopt_name != MRT_INIT)
407 switch (sopt->sopt_name) {
439 if (sopt->sopt_name == MRT_ADD_MFC)
473 switch (sopt->sopt_name) {
H A Dudp_usrreq.c923 !(sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_FLUSH))
931 switch (sopt->sopt_name) {
964 switch (sopt->sopt_name) {
H A Dip_fw2.c3412 if (sopt->sopt_name == IP_FW_ADD ||
3413 (sopt->sopt_dir == SOPT_SET && sopt->sopt_name != IP_FW_RESETLOG)) {
3838 error = zero_entry(temp_rule.rulenum, sopt->sopt_name == IP_FW_RESETLOG);
3844 printf("ipfw: ipfw_ctl invalid option %d\n", sopt->sopt_name);
H A Dip_icmp.c1047 switch (sopt->sopt_name) {
H A Dip_dummynet.c2532 switch (sopt->sopt_name) {
2534 printf("dummynet: -- unknown option %d", sopt->sopt_name);
/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_socket.c476 sopt.sopt_name = optname;
507 sopt.sopt_name = optname;
573 sopt.sopt_name = SO_TRAFFIC_CLASS;
600 sopt.sopt_name = IP_TOS;
604 sopt.sopt_name = IPV6_TCLASS;
643 sopt.sopt_name = IP_TOS;
647 sopt.sopt_name = IPV6_TCLASS;
H A Duipc_socket.c3020 switch (sopt->sopt_name) {
3027 so->so_linger = (sopt->sopt_name == SO_LINGER) ?
3055 so->so_options |= sopt->sopt_name;
3057 so->so_options &= ~sopt->sopt_name;
3078 switch (sopt->sopt_name) {
3082 struct sockbuf *sb = (sopt->sopt_name == SO_SNDBUF) ?
3117 switch (sopt->sopt_name) {
3484 switch (sopt->sopt_name) {
3488 l.l_linger = (sopt->sopt_name == SO_LINGER) ?
3508 optval = so->so_options & sopt->sopt_name;
[all...]
H A Dkern_control.c608 error = (*kctl->setopt)(kcb->kctl, kcb->unit, kcb->userdata, sopt->sopt_name,
628 error = (*kctl->getopt)(kcb->kctl, kcb->unit, kcb->userdata, sopt->sopt_name,
H A Dkpi_socketfilter.c1396 return sopt->sopt_name;
H A Duipc_syscalls.c1607 sopt.sopt_name = uap->name;
1663 sopt.sopt_name = uap->name;
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_mcast.c1408 switch (sopt->sopt_name) {
1438 if (sopt->sopt_name == MCAST_BLOCK_SOURCE)
1443 MLD_PRINTF(("%s: unknown sopt_name %d\n",
1444 __func__, sopt->sopt_name));
1796 switch (sopt->sopt_name) {
1962 switch (sopt->sopt_name) {
1985 v4sopt.sopt_name = IP_ADD_MEMBERSHIP;
2021 if (sopt->sopt_name == MCAST_JOIN_GROUP) {
2025 } else if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) {
2037 if (sopt->sopt_name
[all...]
H A Dip6_mroute.c276 if (so != ip6_mrouter && sopt->sopt_name != MRT6_INIT)
279 switch (sopt->sopt_name) {
288 error = ip6_mrouter_init(so, optval, sopt->sopt_name);
344 switch (sopt->sopt_name) {
H A Draw_ip6.c646 !(sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_FLUSH))
653 switch (sopt->sopt_name) {
689 switch (sopt->sopt_name) {
H A Dip6_fw.c1288 (sopt->sopt_dir != SOPT_GET || sopt->sopt_name != IPV6_FW_GET))
1326 switch (sopt->sopt_name)
1431 dprintf(("%s invalid option %d\n", err_prefix, sopt->sopt_name));
H A Dicmp6.c2945 optname = sopt->sopt_name;
3022 switch (sopt->sopt_name) {
3033 switch (sopt->sopt_name) {
H A Dip6_output.c1858 optname = sopt->sopt_name;
2538 optname = sopt->sopt_name;
/darwin-on-arm/xnu/bsd/netat/
H A Daurp_aurpd.c152 sopt.sopt_name = SO_RCVBUF;
172 sopt.sopt_name = SO_SNDBUF;
H A Dddp.c148 switch (sopt->sopt_name) {
181 switch (sopt->sopt_name) {
/darwin-on-arm/xnu/bsd/net/
H A Dndrv.c499 switch(sopt->sopt_name)
525 log(LOG_WARNING, "NDRV CTLOUT: %x returns %d\n", sopt->sopt_name,
/darwin-on-arm/xnu/bsd/sys/
H A Dsocketvar.h531 int sopt_name; /* third arg of [gs]etsockopt */ member in struct:sockopt

Completed in 216 milliseconds

12