package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Type for status of SO_BINDTODEVICE socket option. The socket may either restrict the traffic to a given (by name, e.g. "eth0") interface, or do no restriction at all.

type t =
  1. | Any
  2. | Only of string
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t