Lines Matching refs:optname
492 static int do_dccp_setsockopt(struct sock *sk, int level, int optname,
498 switch (optname) {
509 return dccp_setsockopt_ccid(sk, optname, optval, optlen);
518 if (optname == DCCP_SOCKOPT_SERVICE)
522 switch (optname) {
558 int dccp_setsockopt(struct sock *sk, int level, int optname,
563 optname, optval,
565 return do_dccp_setsockopt(sk, level, optname, optval, optlen);
571 int compat_dccp_setsockopt(struct sock *sk, int level, int optname,
575 return inet_csk_compat_setsockopt(sk, level, optname,
577 return do_dccp_setsockopt(sk, level, optname, optval, optlen);
611 static int do_dccp_getsockopt(struct sock *sk, int level, int optname,
625 switch (optname) {
663 return ccid_hc_rx_getsockopt(dp->dccps_hc_rx_ccid, sk, optname,
666 return ccid_hc_tx_getsockopt(dp->dccps_hc_tx_ccid, sk, optname,
679 int dccp_getsockopt(struct sock *sk, int level, int optname,
684 optname, optval,
686 return do_dccp_getsockopt(sk, level, optname, optval, optlen);
692 int compat_dccp_getsockopt(struct sock *sk, int level, int optname,
696 return inet_csk_compat_getsockopt(sk, level, optname,
698 return do_dccp_getsockopt(sk, level, optname, optval, optlen);