Lines Matching defs:sopt
437 * rfcomm_setopt(dlc, sopt)
442 rfcomm_setopt(struct rfcomm_dlc *dlc, const struct sockopt *sopt)
447 switch (sopt->sopt_name) {
449 err = sockopt_get(sopt, &mtu, sizeof(mtu));
463 err = sockopt_getint(sopt, &mode);
490 * rfcomm_getopt(dlc, sopt)
495 rfcomm_getopt(struct rfcomm_dlc *dlc, struct sockopt *sopt)
499 switch (sopt->sopt_name) {
501 return sockopt_set(sopt, &dlc->rd_mtu, sizeof(uint16_t));
513 return sockopt_set(sopt, &fc, sizeof(fc));
516 return sockopt_setint(sopt, dlc->rd_mode);