openss7 ss7 I_LINK ioctl
- by deddihp
Hello everyone,
is there anyonve have used openss7 before ?.
well, I am trying to implement MTP with mtpi interface. so i use I_LINK to link between M2PA and MTP. But I got some error, ioctl invalid argument.
Do you have some suggestion for me ?. Thanks. your answer will be very helpful for me.
int a1 = open("/dev/sctp_n", O_RDWR);
int a2 = open("/dev/mtp", O_RDWR);
ioctl(a1, I_PUSH, "m2pa-sl");
perror("m2pa-sl");
int a3 = ioctl(a1, I_LINK, a2);
perror("ilink");