commit | 489f40edabeb20f6b9672105b00027b43435b28b | [log] [tgz] |
---|---|---|
author | Aleksander Morgado <aleksander@aleksander.es> | Mon Oct 25 12:35:44 2021 |
committer | Aleksander Morgado <aleksander@aleksander.es> | Tue Nov 02 19:29:00 2021 |
tree | 3dc84e184e25603dc81f08873431849b1ab1ef79 | |
parent | b72257fb068332f206cf719c916f8be8de8d6f9b [diff] |
mbimcli: implement --set-ip-packet-filters The option receives a key-value pair string that can be used to define zero or more filters. E.g. if we want to add TCP and UDP packets to the filters, we could run: $ PF_TCP="packet-filter=40000000000000000006,packet-mask=F00000000000000000FF" $ PF_UDP="packet-filter=40000000000000000011,packet-mask=F00000000000000000FF" $ sudo mbimcli -v -d /dev/wwan0mbim0 -p --set-ip-packet-filters="session-id=0,${PF_TCP},${PF_UDP}" Or, if we want to remove all filters, we could run: $ sudo mbimcli -v -d /dev/wwan0mbim0 -p --set-ip-packet-filters="session-id=0"
libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Broadband Interface Model (MBIM) protocol.
libmbim-glib
library is released under the LGPL-2.1-or-later license.mbimcli
tool is released under the GPL-2.0-or-later license.License texts can be found under the LICENSES
folder.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms, which you can find in the following link: https://www.freedesktop.org/wiki/CodeOfConduct CoC issues may be raised to the project maintainers at the following address: libmbim-devel-owner@lists.freedesktop.org