• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/netinet6/

Lines Matching defs:sopt

1389 in6p_block_unblock_source(struct inpcb *inp, struct sockopt *sopt)
1412 switch (sopt->sopt_name) {
1415 error = sooptcopyin(sopt, &gsr,
1434 if (sopt->sopt_name == MCAST_BLOCK_SOURCE)
1440 __func__, sopt->sopt_name);
1617 in6p_get_source_filters(struct inpcb *inp, struct sockopt *sopt)
1639 error = sooptcopyin(sopt, &msfr, sizeof(struct __msfilterreq),
1733 error = sooptcopyout(sopt, &msfr, sizeof(struct __msfilterreq));
1742 ip6_getmoptions(struct inpcb *inp, struct sockopt *sopt)
1762 switch (sopt->sopt_name) {
1770 error = sooptcopyout(sopt, &optval, sizeof(u_int));
1779 error = sooptcopyout(sopt, &optval, sizeof(u_int));
1788 error = sooptcopyout(sopt, &optval, sizeof(u_int));
1796 error = in6p_get_source_filters(inp, sopt);
1851 in6p_join_group(struct inpcb *inp, struct sockopt *sopt)
1880 switch (sopt->sopt_name) {
1884 error = sooptcopyin(sopt, &mreq, sizeof(struct ipv6_mreq),
1906 if (sopt->sopt_name == MCAST_JOIN_GROUP) {
1907 error = sooptcopyin(sopt, &gsr,
1910 } else if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) {
1911 error = sooptcopyin(sopt, &gsr,
1922 if (sopt->sopt_name == MCAST_JOIN_SOURCE_GROUP) {
1945 __func__, sopt->sopt_name);
2155 in6p_leave_group(struct inpcb *inp, struct sockopt *sopt)
2190 switch (sopt->sopt_name) {
2192 error = sooptcopyin(sopt, &mreq, sizeof(struct ipv6_mreq),
2206 if (sopt->sopt_name == MCAST_LEAVE_GROUP) {
2207 error = sooptcopyin(sopt, &gsr,
2210 } else if (sopt->sopt_name == MCAST_LEAVE_SOURCE_GROUP) {
2211 error = sooptcopyin(sopt, &gsr,
2221 if (sopt->sopt_name == MCAST_LEAVE_SOURCE_GROUP) {
2241 __func__, sopt->sopt_name);
2399 in6p_set_multicast_if(struct inpcb *inp, struct sockopt *sopt)
2406 if (sopt->sopt_valsize != sizeof(u_int))
2409 error = sooptcopyin(sopt, &ifindex, sizeof(u_int), sizeof(u_int));
2436 in6p_set_source_filters(struct inpcb *inp, struct sockopt *sopt)
2446 error = sooptcopyin(sopt, &msfr, sizeof(struct __msfilterreq),
2615 ip6_setmoptions(struct inpcb *inp, struct sockopt *sopt)
2631 switch (sopt->sopt_name) {
2633 error = in6p_set_multicast_if(inp, sopt);
2639 if (sopt->sopt_valsize != sizeof(int)) {
2643 error = sooptcopyin(sopt, &hlim, sizeof(hlim), sizeof(int));
2665 if (sopt->sopt_valsize != sizeof(u_int)) {
2669 error = sooptcopyin(sopt, &loop, sizeof(u_int), sizeof(u_int));
2685 error = in6p_join_group(inp, sopt);
2691 error = in6p_leave_group(inp, sopt);
2696 error = in6p_block_unblock_source(inp, sopt);
2700 error = in6p_set_source_filters(inp, sopt);