C   27

Filter

Guest on 24th June 2022 02:52:39 PM

  1. Ioctls-
  2. setsockopt(sockfd, SOL_SOCKET, SO_ATTACH_FILTER, &Filter, sizeof(Filter));
  3. setsockopt(sockfd, SOL_SOCKET, SO_DETACH_FILTER, &value, sizeof(value));

Raw Paste


Login or Register to edit or fork this paste. It's free.